diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-05-15 10:41:25 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-05-15 10:41:25 +0200 |
commit | 1ff414cc19a8e7b2312804a6973f953329f067b4 (patch) | |
tree | dee55dbfd478bf99882cb28f7ae80fc3504bc8bc /lib | |
parent | 005554570528dbaab2d0aaf7280014a7d99fafb7 (diff) | |
download | curl-bagder/openssl-ack-tlsmax-default.tar.gz |
openssl: acknowledge --tls-max for default version toobagder/openssl-ack-tlsmax-default
... previously it only used the max setting if a TLS version was also
explicitly asked for.
Fixes #2571
Reported-by: byte_bucket
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: |