diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-03-10 08:46:54 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-03-10 08:46:54 +0100 |
commit | 12f04142c1923069cbf60bdb3789a95c464daf6d (patch) | |
tree | d6e799f61f4babce5a880629079e01da0af76e94 /lib/vtls/openssl.c | |
parent | 26e9fc27adbc9dd3095eaf77c0e95bf3dffd7b5b (diff) | |
download | curl-12f04142c1923069cbf60bdb3789a95c464daf6d.tar.gz |
openssl: add two /* FALLTHROUGH */ to satisfy coverity
CID 1402159 and 1402158
Diffstat (limited to 'lib/vtls/openssl.c')
-rw-r--r-- | lib/vtls/openssl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index d4e412813..b98076255 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -1746,10 +1746,12 @@ set_ssl_version_min_max(long *ctx_options, struct connectdata *conn, #if OPENSSL_VERSION_NUMBER >= 0x1000100FL *ctx_options |= SSL_OP_NO_TLSv1_1; #endif + /* FALLTHROUGH */ case CURL_SSLVERSION_MAX_TLSv1_1: #if OPENSSL_VERSION_NUMBER >= 0x1000100FL *ctx_options |= SSL_OP_NO_TLSv1_2; #endif + /* FALLTHROUGH */ case CURL_SSLVERSION_MAX_TLSv1_2: case CURL_SSLVERSION_MAX_DEFAULT: #ifdef TLS1_3_VERSION |