From 63790f578ba25b3f6d5cb0d10ff75dff7d3fed2f Mon Sep 17 00:00:00 2001
From: Nicolas KAROLAK <nicolas@karolak.fr>
Date: Wed, 11 Apr 2018 16:13:43 +0200
Subject: [PATCH] =?UTF-8?q?test=5Fssl:=20fix=20previous=20fix=E2=80=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 tests/test_ssl.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_ssl.py b/tests/test_ssl.py
index 9d46bd6e..e0191dec 100755
--- a/tests/test_ssl.py
+++ b/tests/test_ssl.py
@@ -50,7 +50,7 @@ for s, d in conf_servers:
     try:
         # further tests
         conn = ssl.create_connection((v, 443))
-        context = ssl.SSLContext(ssl.PROTOCOL_TLS)
+        context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
         sock = context.wrap_socket(conn, server_hostname=v)
         cert = ssl.DER_cert_to_PEM_cert(sock.getpeercert(True))
         x509 = OpenSSL.crypto.load_certificate(OpenSSL.crypto.FILETYPE_PEM, cert)
-- 
GitLab