From: William Lallemand Date: Mon, 9 Oct 2023 13:09:47 +0000 (+0200) Subject: BUILD: ssl: add 'ssl_c_r_dn' fetch for WolfSSL X-Git-Tag: v2.9-dev8~97 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bf426eecd715151cd6e9d528c8f3259a221a5a7f;p=thirdparty%2Fhaproxy.git BUILD: ssl: add 'ssl_c_r_dn' fetch for WolfSSL WolfSSL supports SSL_get0_verified_chain() so we can activate this feature. --- diff --git a/include/haproxy/openssl-compat.h b/include/haproxy/openssl-compat.h index e2a48bb7a3..50344e65cf 100644 --- a/include/haproxy/openssl-compat.h +++ b/include/haproxy/openssl-compat.h @@ -104,7 +104,7 @@ #endif /* minimum OpenSSL 1.1.1 & libreSSL 3.3.6 */ -#if (defined(LIBRESSL_VERSION_NUMBER) && (LIBRESSL_VERSION_NUMBER >= 0x3030600L)) || (HA_OPENSSL_VERSION_NUMBER >= 0x10101000L) +#if (defined(LIBRESSL_VERSION_NUMBER) && (LIBRESSL_VERSION_NUMBER >= 0x3030600L)) || (HA_OPENSSL_VERSION_NUMBER >= 0x10101000L) || defined(USE_OPENSSL_WOLFSSL) #define HAVE_SSL_get0_verified_chain #endif