diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2014-01-09 21:30:17 +0100 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2014-01-09 21:30:17 +0100 |
commit | ba44860c118f375c81db1f82ac4714992a37a22e (patch) | |
tree | df0b8740df3a234ec96ab31534185d7ce3c3334b /Lib/test/test_ssl.py | |
parent | 78ace81c93568da30c789f85f8a8ebafb2ed89b2 (diff) | |
parent | 32c4915b239f435fd6c063b7f507b289a7a55f75 (diff) | |
download | cpython-git-ba44860c118f375c81db1f82ac4714992a37a22e.tar.gz |
Try to fix test_ssl failures on some buildbots
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r-- | Lib/test/test_ssl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 34e8676756..0dc04c08ea 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -1859,9 +1859,9 @@ else: ssl.get_protocol_name(server_protocol), certtype)) 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.options = ssl.OP_ALL | server_options + server_context.options |= server_options # NOTE: we must enable "ALL" ciphers on the client, otherwise an # SSLv23 client will send an SSLv3 hello (rather than SSLv2) |