diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-01-07 18:59:20 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-01-07 18:59:20 (GMT) |
commit | 9f6eceab46729e385dde6826f38147fbed038873 (patch) | |
tree | 475121682d0b33a6aa39deaaa9aaf036294a82eb /Lib/test/test_ssl.py | |
parent | aacd524118df95837d35d668765ab0523da6b286 (diff) | |
download | cpython-9f6eceab46729e385dde6826f38147fbed038873.zip cpython-9f6eceab46729e385dde6826f38147fbed038873.tar.gz cpython-9f6eceab46729e385dde6826f38147fbed038873.tar.bz2 |
include some more ciphers
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r-- | Lib/test/test_ssl.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index a0a3920..6b00a37 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("3DES") - server_context.set_ciphers("3DES:AES") + client_context.set_ciphers("3DES:DES") + server_context.set_ciphers("3DES:DES: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("DES-CBC3-", name) + self.assertIn("DES", name.split("-")) def test_read_write_after_close_raises_valuerror(self): context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) |