summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-01-07 20:21:22 (GMT)
committerBenjamin Peterson <benjamin@python.org>2015-01-07 20:21:22 (GMT)
commitf78b78aed4c20cf0e32cfd75f9594f1fcf7e87e6 (patch)
tree3663a1d04c9db80008b5849bbaa35dec12646f9a /Lib
parent438a8db763d219796529869ae01dc5944106c7e7 (diff)
downloadcpython-f78b78aed4c20cf0e32cfd75f9594f1fcf7e87e6.zip
cpython-f78b78aed4c20cf0e32cfd75f9594f1fcf7e87e6.tar.gz
cpython-f78b78aed4c20cf0e32cfd75f9594f1fcf7e87e6.tar.bz2
rc4 is a long time favorite
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_ssl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index b429e44..554f32c 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -3165,8 +3165,8 @@ else:
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)