diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-01-07 17:42:38 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-01-07 17:42:38 (GMT) |
commit | aacd524118df95837d35d668765ab0523da6b286 (patch) | |
tree | e4f515cba612fd4ae21bf17b4eaee8796098ac21 /Lib/test/test_ssl.py | |
parent | e27a4213546bde6048c85d46321361e5e5c25b09 (diff) | |
download | cpython-aacd524118df95837d35d668765ab0523da6b286.zip cpython-aacd524118df95837d35d668765ab0523da6b286.tar.gz cpython-aacd524118df95837d35d668765ab0523da6b286.tar.bz2 |
force test server to speak tlsv1
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r-- | Lib/test/test_ssl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 79f1a43..a0a3920 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") |