From: William Lallemand Date: Mon, 9 Oct 2023 12:56:43 +0000 (+0200) Subject: BUILD: ssl: enable 'ciphersuites' for WolfSSL X-Git-Tag: v2.9-dev8~98 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d75bc06bdc8585112b4c9b231e0a42de4065de96;p=thirdparty%2Fhaproxy.git BUILD: ssl: enable 'ciphersuites' for WolfSSL WolfSSL supports setting the 'ciphersuites', lets enable the keyword for it. --- diff --git a/include/haproxy/openssl-compat.h b/include/haproxy/openssl-compat.h index 066db0cac4..e2a48bb7a3 100644 --- a/include/haproxy/openssl-compat.h +++ b/include/haproxy/openssl-compat.h @@ -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