aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-08-11 08:15:16 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-08-11 08:16:17 +0200
commitfd07ca1e20aa28a778cc6fe6d62840e451ad1498 (patch)
tree7bb2d61d6a55a2fe88d3fb51a56da0c43051bc59
parentf26f6d258f9310c6e65750e46fbe4a9e6d786aac (diff)
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;