]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
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 e2a48bb7a3abcd6eb938a1fabd265e20b13959e5..50344e65cfa08f26ba2b629968d7726bd3556c43 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