diff options
| author | Benjamin Peterson <benjamin@python.org> | 2015-01-07 20:03:27 -0600 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2015-01-07 20:03:27 -0600 |
| commit | 359f2982f4b4dd40ad029aca277d4c401d1b828b (patch) | |
| tree | 0e41bff25d5ae14e231f5bd7b9f923819ec88a70 /Lib/test/test_ssl.py | |
| parent | 8791d697e03c7ab08b146fb31aa7d06932a915b4 (diff) | |
| download | cpython-git-359f2982f4b4dd40ad029aca277d4c401d1b828b.tar.gz | |
try using AES256
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 3f1ba2fa0f..466613185d 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("RC4") - server_context.set_ciphers("AES:RC4") + client_context.set_ciphers("AES256") + 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("RC4", name.split("-")) + self.assertIn("AES256", name.split("-")) def test_read_write_after_close_raises_valuerror(self): context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) |
