From: Daniel Stenberg Date: Fri, 11 Aug 2017 06:15:16 +0000 (+0200) Subject: openssl: fix "error: this statement may fall through" X-Git-Tag: curl-7_55_1~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fd07ca1e20aa28a778cc6fe6d62840e451ad1498;p=thirdparty%2Fcurl.git openssl: fix "error: this statement may fall through" A gcc7 warning. --- diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 42b4e9a145..8c1d5a8e55 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -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"); return CURLE_NOT_BUILT_IN; #endif + /* FALLTHROUGH */ case CURL_SSLVERSION_TLSv1_2: #if OPENSSL_VERSION_NUMBER >= 0x1000100FL *ctx_options |= SSL_OP_NO_TLSv1_1;