mirror of https://github.com/python/cpython
drop 256
This commit is contained in:
parent
359f2982f4
commit
44c77791ab
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue