commit | 332848f861b07f4475fb4d8a59387c0fa0a8e7f4 | [log] [tgz] |
---|---|---|
author | Alex Gaynor <alex.gaynor@gmail.com> | Mon Aug 07 12:40:09 2017 -0400 |
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | Mon Aug 07 11:40:09 2017 -0500 |
tree | ccd4c955a51be666f72cbb8613f166108349f9f3 | |
parent | 85b1758417afe0feb6ac5e021bc3bd4d6cf55505 [diff] [blame] |
Fix another test to not hardcode TLSv1 (#683)
diff --git a/tests/test_ssl.py b/tests/test_ssl.py index 21e6040..03f9abd 100644 --- a/tests/test_ssl.py +++ b/tests/test_ssl.py
@@ -2463,7 +2463,7 @@ """ key = load_privatekey(FILETYPE_PEM, server_key_pem) cert = load_certificate(FILETYPE_PEM, server_cert_pem) - ctx = Context(TLSv1_METHOD) + ctx = Context(SSLv23_METHOD) ctx.use_privatekey(key) ctx.use_certificate(cert) ctx.set_session_id("unity-test")