diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_ssl.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class TestConnection(object): """ 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") |