BUILD: jwt: fix declaration of EVP_KEY in jwt-h.h

In file included from include/haproxy/jwt.h:25:
include/haproxy/jwt-t.h:66:2: error: unknown type name 'EVP_PKEY'
        EVP_PKEY *pkey;
        ^
1 error generated.

Fix this compilation issue by inserting openssl-compat.h in jwt-t.h
This commit is contained in:
William Lallemand 2021-10-14 16:51:08 +02:00
parent 36da606324
commit 1dbf578ee0

View File

@ -22,6 +22,7 @@
#ifndef _HAPROXY_JWT_T_H
#define _HAPROXY_JWT_T_H
#include <haproxy/openssl-compat.h>
#ifdef USE_OPENSSL
enum jwt_alg {