summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-01-08 02:52:40 (GMT)
committerBenjamin Peterson <benjamin@python.org>2015-01-08 02:52:40 (GMT)
commite6838e08ef3c33229f22002547fdf3f6cdac8ff7 (patch)
treec402786300b2b86e0d36a34018ad18a19d1d2680
parent44c77791ab6a832f80bb48a7658204bed131f7d7 (diff)
downloadcpython-e6838e08ef3c33229f22002547fdf3f6cdac8ff7.zip
cpython-e6838e08ef3c33229f22002547fdf3f6cdac8ff7.tar.gz
cpython-e6838e08ef3c33229f22002547fdf3f6cdac8ff7.tar.bz2
reorder cipher prefs
-rw-r--r--Lib/test/test_ssl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index 859aead..20f0eef 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -3166,7 +3166,7 @@ else:
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)