mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-10 22:12:44 +02:00
BUILD: SSL: guard TLS13 ciphersuites with HAVE_SSL_CTX_SET_CIPHERSUITES
accidently src/server.c still used earlier guarding
This commit is contained in:
committed by
William Lallemand
parent
888b0ae8cf
commit
2aa4b3a083
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user