From 332848f861b07f4475fb4d8a59387c0fa0a8e7f4 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Mon, 7 Aug 2017 12:40:09 -0400 Subject: Fix another test to not hardcode TLSv1 (#683) --- tests/test_ssl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_ssl.py') 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") -- cgit v1.2.3