gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 16/41: openssl: fix "error: this statement may fall


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 16/41: openssl: fix "error: this statement may fall through"
Date: Sun, 20 Aug 2017 20:46:38 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.55.1
in repository gnurl.

commit fd07ca1e20aa28a778cc6fe6d62840e451ad1498
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Aug 11 08:15:16 2017 +0200

    openssl: fix "error: this statement may fall through"
    
    A gcc7 warning.
---
 lib/vtls/openssl.c | 1 +
 1 file changed, 1 insertion(+)

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;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]