mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
openssl: fix "error: this statement may fall through"
A gcc7 warning.
This commit is contained in:
parent
f26f6d258f
commit
fd07ca1e20
@ -1776,6 +1776,7 @@ set_ssl_version_min_max(long *ctx_options, struct connectdata *conn,
|
|||||||
failf(data, OSSL_PACKAGE " was built without TLS 1.3 support");
|
failf(data, OSSL_PACKAGE " was built without TLS 1.3 support");
|
||||||
return CURLE_NOT_BUILT_IN;
|
return CURLE_NOT_BUILT_IN;
|
||||||
#endif
|
#endif
|
||||||
|
/* FALLTHROUGH */
|
||||||
case CURL_SSLVERSION_TLSv1_2:
|
case CURL_SSLVERSION_TLSv1_2:
|
||||||
#if OPENSSL_VERSION_NUMBER >= 0x1000100FL
|
#if OPENSSL_VERSION_NUMBER >= 0x1000100FL
|
||||||
*ctx_options |= SSL_OP_NO_TLSv1_1;
|
*ctx_options |= SSL_OP_NO_TLSv1_1;
|
||||||
|
Loading…
Reference in New Issue
Block a user