gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 07/163: openssl: acknowledge --tls-max for default


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 07/163: openssl: acknowledge --tls-max for default version too
Date: Sun, 05 Aug 2018 12:35:33 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit c5fe86804cce21db3b9902a44ea8903b3b211db0
Author: Daniel Stenberg <address@hidden>
AuthorDate: Tue May 15 10:41:25 2018 +0200

    openssl: acknowledge --tls-max for default version too
    
    ... previously it only used the max setting if a TLS version was also
    explicitly asked for.
    
    Reported-by: byte_bucket
    Fixes #2571
    Closes #2572
---
 lib/vtls/openssl.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c
index f6a4bd3fb..a7bbdb2fd 100644
--- a/lib/vtls/openssl.c
+++ b/lib/vtls/openssl.c
@@ -2325,8 +2325,7 @@ static CURLcode ossl_connect_step1(struct connectdata 
*conn, int sockindex)
   case CURL_SSLVERSION_TLSv1:
     ctx_options |= SSL_OP_NO_SSLv2;
     ctx_options |= SSL_OP_NO_SSLv3;
-    break;
-
+    /* FALLTHROUGH */
   case CURL_SSLVERSION_TLSv1_0:
   case CURL_SSLVERSION_TLSv1_1:
   case CURL_SSLVERSION_TLSv1_2:

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



reply via email to

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