summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-08-11 08:15:16 +0200
committerng0 <ng0@infotropique.org>2017-08-22 15:29:53 +0000
commit86eeb02458501cce6696daeaf2adb7ad555299d5 (patch)
tree3ad363d3c138c63e52dae6a4b693d7f134cc7d60
parent3a80494e8068cf689cea07c919e30bd145491fc2 (diff)
downloadgnurl-86eeb02458501cce6696daeaf2adb7ad555299d5.tar.gz
gnurl-86eeb02458501cce6696daeaf2adb7ad555299d5.tar.bz2
gnurl-86eeb02458501cce6696daeaf2adb7ad555299d5.zip
openssl: fix "error: this statement may fall through"
A gcc7 warning.
-rw-r--r--lib/vtls/openssl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index 42b4e9a14..8c1d5a8e5 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;