mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Try to fix test_ssl failures on some buildbots
This commit is contained in:
commit
ba44860c11
1 changed files with 2 additions and 2 deletions
|
@ -1859,9 +1859,9 @@ else:
|
||||||
ssl.get_protocol_name(server_protocol),
|
ssl.get_protocol_name(server_protocol),
|
||||||
certtype))
|
certtype))
|
||||||
client_context = ssl.SSLContext(client_protocol)
|
client_context = ssl.SSLContext(client_protocol)
|
||||||
client_context.options = ssl.OP_ALL | client_options
|
client_context.options |= client_options
|
||||||
server_context = ssl.SSLContext(server_protocol)
|
server_context = ssl.SSLContext(server_protocol)
|
||||||
server_context.options = ssl.OP_ALL | server_options
|
server_context.options |= server_options
|
||||||
|
|
||||||
# NOTE: we must enable "ALL" ciphers on the client, otherwise an
|
# NOTE: we must enable "ALL" ciphers on the client, otherwise an
|
||||||
# SSLv23 client will send an SSLv3 hello (rather than SSLv2)
|
# SSLv23 client will send an SSLv3 hello (rather than SSLv2)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue