mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
force test server to speak tlsv1
This commit is contained in:
parent
e27a421354
commit
aacd524118
1 changed files with 1 additions and 1 deletions
|
@ -3163,7 +3163,7 @@ else:
|
|||
self.assertIn("TypeError", stderr.getvalue())
|
||||
|
||||
def test_shared_ciphers(self):
|
||||
server_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
|
||||
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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue