Skip to content

Commit

Permalink
Fix another test to not hardcode TLSv1 (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored and reaperhulk committed Aug 7, 2017
1 parent 85b1758 commit 332848f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -2463,7 +2463,7 @@ def test_client_set_session(self):
"""
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")
Expand Down

0 comments on commit 332848f

Please sign in to comment.