mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
12 lines
381 B
Diff
12 lines
381 B
Diff
--- a/src/mattermostdriver/websocket.py
|
|
+++ b/src/mattermostdriver/websocket.py
|
|
@@ -26,7 +26,7 @@
|
|
: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
|
|
|