mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
reorder cipher prefs
This commit is contained in:
parent
44c77791ab
commit
e6838e08ef
1 changed files with 1 additions and 1 deletions
|
@ -3166,7 +3166,7 @@ else:
|
|||
server_context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)
|
||||
client_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
|
||||
client_context.set_ciphers("AES")
|
||||
server_context.set_ciphers("RC4:AES")
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue