[Python-checkins] cpython: reorder cipher prefs
benjamin.peterson
python-checkins at python.org
Thu Jan 8 03:52:46 CET 2015
https://hg.python.org/cpython/rev/9968783893e5
changeset: 94072:9968783893e5
user: Benjamin Peterson <benjamin at python.org>
date: Wed Jan 07 20:52:40 2015 -0600
summary:
reorder cipher prefs
files:
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
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -3166,7 +3166,7 @@
server_context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
client_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
client_context.set_ciphers("AES")
- server_context.set_ciphers("RC4:AES")
+ 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