diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-04-10 12:59:30 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-04-10 14:21:49 +0200 |
commit | 5ed16e6a7ac49ce0df35e31dd89ce85a1222da65 (patch) | |
tree | 453474a7d9b9b8e8124f372718285acf70fa94a3 /lib/vtls/openssl.c | |
parent | d29e9de146a5d56aea07fad43b0572b3a44fd3db (diff) |
openssl: fix this statement may fall through [-Wimplicit-fallthrough=]
Closes #1402
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 be264662a..5c4e34e91 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -1752,6 +1752,7 @@ set_ssl_version_min_max(long *ctx_options, struct connectdata *conn, failf(data, OSSL_PACKAGE " was built without TLS 1.2 support"); return CURLE_NOT_BUILT_IN; #endif + /* FALLTHROUGH */ case CURL_SSLVERSION_TLSv1_1: #if OPENSSL_VERSION_NUMBER >= 0x1000100FL *ctx_options |= SSL_OP_NO_TLSv1; @@ -1759,6 +1760,7 @@ set_ssl_version_min_max(long *ctx_options, struct connectdata *conn, failf(data, OSSL_PACKAGE " was built without TLS 1.1 support"); return CURLE_NOT_BUILT_IN; #endif + /* FALLTHROUGH */ case CURL_SSLVERSION_TLSv1_0: *ctx_options |= SSL_OP_NO_SSLv2; *ctx_options |= SSL_OP_NO_SSLv3; |