From d75bc06bdc8585112b4c9b231e0a42de4065de96 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Mon, 9 Oct 2023 14:56:43 +0200 Subject: [PATCH] BUILD: ssl: enable 'ciphersuites' for WolfSSL WolfSSL supports setting the 'ciphersuites', lets enable the keyword for it. --- include/haproxy/openssl-compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/haproxy/openssl-compat.h b/include/haproxy/openssl-compat.h index 066db0cac..e2a48bb7a 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