[Python-checkins] cpython: include some more ciphers
benjamin.peterson
python-checkins at python.org
Wed Jan 7 19:59:36 CET 2015
https://hg.python.org/cpython/rev/15ce5fee0508
changeset: 94064:15ce5fee0508
user: Benjamin Peterson <benjamin at python.org>
date: Wed Jan 07 12:59:20 2015 -0600
summary:
include some more ciphers
files:
Lib/test/test_ssl.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -3165,13 +3165,13 @@
def test_shared_ciphers(self):
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")
+ client_context.set_ciphers("3DES:DES")
+ server_context.set_ciphers("3DES:DES:AES")
stats = server_params_test(client_context, server_context)
ciphers = stats['server_shared_ciphers'][0]
self.assertGreater(len(ciphers), 0)
for name, tls_version, bits in ciphers:
- self.assertIn("DES-CBC3-", name)
+ self.assertIn("DES", name.split("-"))
def test_read_write_after_close_raises_valuerror(self):
context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list