From c5fe86804cce21db3b9902a44ea8903b3b211db0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 15 May 2018 10:41:25 +0200 Subject: openssl: acknowledge --tls-max for default version too ... previously it only used the max setting if a TLS version was also explicitly asked for. Reported-by: byte_bucket Fixes #2571 Closes #2572 --- lib/vtls/openssl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index f6a4bd3fb..a7bbdb2fd 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -2325,8 +2325,7 @@ static CURLcode ossl_connect_step1(struct connectdata *conn, int sockindex) case CURL_SSLVERSION_TLSv1: ctx_options |= SSL_OP_NO_SSLv2; ctx_options |= SSL_OP_NO_SSLv3; - break; - + /* FALLTHROUGH */ case CURL_SSLVERSION_TLSv1_0: case CURL_SSLVERSION_TLSv1_1: case CURL_SSLVERSION_TLSv1_2: -- cgit v1.2.3