]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: ssl: enable 'ciphersuites' for WolfSSL
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 9 Oct 2023 12:56:43 +0000 (14:56 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 9 Oct 2023 12:56:43 +0000 (14:56 +0200)
WolfSSL supports setting the 'ciphersuites', lets enable the keyword for
it.

include/haproxy/openssl-compat.h

index 066db0cac4b872af68cbf85af4342a40c87a9e23..e2a48bb7a3abcd6eb938a1fabd265e20b13959e5 100644 (file)
@@ -73,7 +73,7 @@
 #define HAVE_SSL_RAND_KEEP_RANDOM_DEVICES_OPEN
 #endif
 
-#if ((OPENSSL_VERSION_NUMBER >= 0x10101000L) && !defined(LIBRESSL_VERSION_NUMBER) && !defined(OPENSSL_IS_BORINGSSL))
+#if ((OPENSSL_VERSION_NUMBER >= 0x10101000L) && !defined(LIBRESSL_VERSION_NUMBER) && !defined(OPENSSL_IS_BORINGSSL)) || defined(USE_OPENSSL_WOLFSSL)
 #define HAVE_SSL_CTX_SET_CIPHERSUITES
 #define HAVE_ASN1_TIME_TO_TM
 #endif