summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-01-08 02:30:59 (GMT)
committerBenjamin Peterson <benjamin@python.org>2015-01-08 02:30:59 (GMT)
commit44c77791ab6a832f80bb48a7658204bed131f7d7 (patch)
treed9a2ac5b0c0cc2f2bd4a952c57f1df3de6ddc9f1
parent359f2982f4b4dd40ad029aca277d4c401d1b828b (diff)
downloadcpython-44c77791ab6a832f80bb48a7658204bed131f7d7.zip
cpython-44c77791ab6a832f80bb48a7658204bed131f7d7.tar.gz
cpython-44c77791ab6a832f80bb48a7658204bed131f7d7.tar.bz2
drop 256
-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 4666131..859aead 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -3165,13 +3165,13 @@ else:
def test_shared_ciphers(self):
server_context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
client_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
- client_context.set_ciphers("AES256")
+ client_context.set_ciphers("AES")
server_context.set_ciphers("RC4: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("AES256", name.split("-"))
+ self.assertIn("AES", name)
def test_read_write_after_close_raises_valuerror(self):
context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)