[Python-checkins] cpython: rc4 is a long time favorite
benjamin.peterson
python-checkins at python.org
Wed Jan 7 21:21:32 CET 2015
https://hg.python.org/cpython/rev/803898b6bee3
changeset: 94068:803898b6bee3
user: Benjamin Peterson <benjamin at python.org>
date: Wed Jan 07 14:21:22 2015 -0600
summary:
rc4 is a long time favorite
files:
Lib/test/test_ssl.py | 4 ++--
1 files changed, 2 insertions(+), 2 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,8 +3165,8 @@
def test_shared_ciphers(self):
server_context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
client_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
- client_context.set_ciphers("AES128")
- server_context.set_ciphers("AES128:AES256")
+ client_context.set_ciphers("RC4")
+ server_context.set_ciphers("AES:RC4")
stats = server_params_test(client_context, server_context)
ciphers = stats['server_shared_ciphers'][0]
self.assertGreater(len(ciphers), 0)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list