]> granicus.if.org Git - curl/commitdiff
openssl: add two /* FALLTHROUGH */ to satisfy coverity
authorDaniel Stenberg <daniel@haxx.se>
Fri, 10 Mar 2017 07:46:54 +0000 (08:46 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 10 Mar 2017 07:46:54 +0000 (08:46 +0100)
CID 1402159 and 1402158

lib/vtls/openssl.c

index d4e4128139a7c8d8d9131594ee227928aaf2a769..b980762550168cdfc80e60446a5987696a0768f3 100644 (file)
@@ -1746,10 +1746,12 @@ set_ssl_version_min_max(long *ctx_options, struct connectdata *conn,
 #if OPENSSL_VERSION_NUMBER >= 0x1000100FL
       *ctx_options |= SSL_OP_NO_TLSv1_1;
 #endif
+      /* FALLTHROUGH */
     case CURL_SSLVERSION_MAX_TLSv1_1:
 #if OPENSSL_VERSION_NUMBER >= 0x1000100FL
       *ctx_options |= SSL_OP_NO_TLSv1_2;
 #endif
+      /* FALLTHROUGH */
     case CURL_SSLVERSION_MAX_TLSv1_2:
     case CURL_SSLVERSION_MAX_DEFAULT:
 #ifdef TLS1_3_VERSION