From aacd524118df95837d35d668765ab0523da6b286 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 7 Jan 2015 11:42:38 -0600 Subject: [PATCH] force test server to speak tlsv1 --- Lib/test/test_ssl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 79f1a43a7ff..a0a392092a6 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -3163,7 +3163,7 @@ else: self.assertIn("TypeError", stderr.getvalue()) def test_shared_ciphers(self): - server_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) + server_context = ssl.SSLContext(ssl.PROTOCOL_TLSv1) client_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) client_context.set_ciphers("3DES") server_context.set_ciphers("3DES:AES")