mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-25 04:17:42 +00: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:
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
|
||||
|
Loading…
Reference in New Issue
Block a user