1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

openssl: fix "error: this statement may fall through"

A gcc7 warning.
This commit is contained in:
Daniel Stenberg 2017-08-11 08:15:16 +02:00
parent f26f6d258f
commit fd07ca1e20
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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;