From: Ilya Shipitsin Date: Thu, 7 Jan 2021 06:55:45 +0000 (+0500) Subject: BUILD: SSL: guard TLS13 ciphersuites with HAVE_SSL_CTX_SET_CIPHERSUITES X-Git-Tag: v2.4-dev6~87 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2aa4b3a083b9455a5f2bd67f20d6cabcb8b4dbfb;p=thirdparty%2Fhaproxy.git BUILD: SSL: guard TLS13 ciphersuites with HAVE_SSL_CTX_SET_CIPHERSUITES accidently src/server.c still used earlier guarding --- diff --git a/src/server.c b/src/server.c index 9463882fe0..1c4ad7aaf2 100644 --- a/src/server.c +++ b/src/server.c @@ -1553,7 +1553,7 @@ static void srv_ssl_settings_cpy(struct server *srv, struct server *src) if (src->ssl_ctx.methods.max) srv->ssl_ctx.methods.max = src->ssl_ctx.methods.max; -#if (HA_OPENSSL_VERSION_NUMBER >= 0x10101000L && !defined OPENSSL_IS_BORINGSSL) +#ifdef HAVE_SSL_CTX_SET_CIPHERSUITES if (src->ssl_ctx.ciphersuites != NULL) srv->ssl_ctx.ciphersuites = strdup(src->ssl_ctx.ciphersuites); #endif