diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-05-15 10:41:25 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-05-17 13:34:47 +0200 |
commit | c5fe86804cce21db3b9902a44ea8903b3b211db0 (patch) | |
tree | 876408826b56c49182cde855fbbcd3a5bc72929c /lib | |
parent | 3b6802cb97a0d4c2f7b8171ba069ada4662e5354 (diff) |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/vtls/openssl.c | 3 |
1 files changed, 1 insertions, 2 deletions
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: |