From 1dbf578ee0fd45ca7d0c5d1a234a876d140206a0 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Thu, 14 Oct 2021 16:51:08 +0200 Subject: [PATCH] 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 --- include/haproxy/jwt-t.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/haproxy/jwt-t.h b/include/haproxy/jwt-t.h index 3e7d57757..a781b0af0 100644 --- a/include/haproxy/jwt-t.h +++ b/include/haproxy/jwt-t.h @@ -22,6 +22,7 @@ #ifndef _HAPROXY_JWT_T_H #define _HAPROXY_JWT_T_H +#include #ifdef USE_OPENSSL enum jwt_alg {