BUILD: ssl: add 'ssl_c_r_dn' fetch for WolfSSL
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 9 Oct 2023 13:09:47 +0000 (15:09 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 9 Oct 2023 13:09:47 +0000 (15:09 +0200)
WolfSSL supports SSL_get0_verified_chain() so we can activate this
feature.

include/haproxy/openssl-compat.h

index e2a48bb..50344e6 100644 (file)
 #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