Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit aad4427

Browse files
committed
Apparently Python doesn't like this much
1 parent 7b0845e commit aad4427

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def __init__(self, socket_handler, host='localhost', ready_event=None):
4141
self.host = host
4242
self.ready_event = ready_event
4343

44-
self.cxt = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
44+
self.cxt = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
4545
if ssl.HAS_NPN:
4646
self.cxt.set_npn_protocols([NPN_PROTOCOL])
4747
self.cxt.load_cert_chain(certfile='test/certs/server.crt',

0 commit comments

Comments
 (0)