mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
openssl: add two /* FALLTHROUGH */ to satisfy coverity
CID 1402159 and 1402158
This commit is contained in:
parent
26e9fc27ad
commit
12f04142c1
@ -1746,10 +1746,12 @@ set_ssl_version_min_max(long *ctx_options, struct connectdata *conn,
|
|||||||
#if OPENSSL_VERSION_NUMBER >= 0x1000100FL
|
#if OPENSSL_VERSION_NUMBER >= 0x1000100FL
|
||||||
*ctx_options |= SSL_OP_NO_TLSv1_1;
|
*ctx_options |= SSL_OP_NO_TLSv1_1;
|
||||||
#endif
|
#endif
|
||||||
|
/* FALLTHROUGH */
|
||||||
case CURL_SSLVERSION_MAX_TLSv1_1:
|
case CURL_SSLVERSION_MAX_TLSv1_1:
|
||||||
#if OPENSSL_VERSION_NUMBER >= 0x1000100FL
|
#if OPENSSL_VERSION_NUMBER >= 0x1000100FL
|
||||||
*ctx_options |= SSL_OP_NO_TLSv1_2;
|
*ctx_options |= SSL_OP_NO_TLSv1_2;
|
||||||
#endif
|
#endif
|
||||||
|
/* FALLTHROUGH */
|
||||||
case CURL_SSLVERSION_MAX_TLSv1_2:
|
case CURL_SSLVERSION_MAX_TLSv1_2:
|
||||||
case CURL_SSLVERSION_MAX_DEFAULT:
|
case CURL_SSLVERSION_MAX_DEFAULT:
|
||||||
#ifdef TLS1_3_VERSION
|
#ifdef TLS1_3_VERSION
|
||||||
|
Loading…
Reference in New Issue
Block a user