diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2017-08-07 12:40:09 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-08-07 11:40:09 -0500 |
commit | 332848f861b07f4475fb4d8a59387c0fa0a8e7f4 (patch) | |
tree | ccd4c955a51be666f72cbb8613f166108349f9f3 /tests | |
parent | 85b1758417afe0feb6ac5e021bc3bd4d6cf55505 (diff) | |
download | pyopenssl-git-332848f861b07f4475fb4d8a59387c0fa0a8e7f4.tar.gz |
Fix another test to not hardcode TLSv1 (#683)
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") |