]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: jwt: fix declaration of EVP_KEY in jwt-h.h
authorWilliam Lallemand <wlallemand@haproxy.org>
Thu, 14 Oct 2021 14:51:08 +0000 (16:51 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 14 Oct 2021 15:21:11 +0000 (17:21 +0200)
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

index 3e7d57757ce855523012e56d7cff9eded22b0341..a781b0af0e109285bd3d84bd59d6a9abe11d68ae 100644 (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 {