From: Remi Tricot-Le Breton Date: Mon, 3 Apr 2023 09:17:26 +0000 (+0200) Subject: BUG/MINOR: ssl: Undefined reference when building with OPENSSL_NO_DEPRECATED X-Git-Tag: v2.8-dev7~114 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26e1432436723175962bcf4b48475dad65308a5c;p=thirdparty%2Fhaproxy.git BUG/MINOR: ssl: Undefined reference when building with OPENSSL_NO_DEPRECATED If OPENSSL_NO_DEPRECATED is set, we get a 'error: ‘RSA_PKCS1_PADDING’ undeclared' when building jwt.c. The symbol is not deprecated, we are just missing an include. This was raised in GitHub issue #2098. It does not need to be backported. --- diff --git a/include/haproxy/openssl-compat.h b/include/haproxy/openssl-compat.h index 2f6b7c20cd..d1fa7baac5 100644 --- a/include/haproxy/openssl-compat.h +++ b/include/haproxy/openssl-compat.h @@ -15,6 +15,7 @@ #include #include #include +#include #if (defined SSL_CTRL_SET_TLSEXT_STATUS_REQ_CB && !defined OPENSSL_NO_OCSP) #include #endif