blob: 49d993abac89041ab2f3b80c6060bc4529d3ec3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- websocket.py.orig
+++ websocket.py
@@ -26,7 +26,7 @@ class Websocket:
:type event_handler: Function(message)
:return:
"""
- context = ssl.create_default_context(purpose=ssl.Purpose.CLIENT_AUTH)
+ context = ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH)
if not self.options['verify']:
context.verify_mode = ssl.CERT_NONE
|