diff options
author | Link Mauve <linkmauve@linkmauve.fr> | 2022-07-12 13:24:32 +0200 |
---|---|---|
committer | Link Mauve <linkmauve@linkmauve.fr> | 2022-07-12 13:24:32 +0200 |
commit | f7a38a028ab6c963f167f5907f3cfbf0a1b0dddc (patch) | |
tree | 83cc34096aba59d1ccf8c2b7491a27ec27998d98 | |
parent | 5e5a7419941910fd616baf18321703c6204d7d07 (diff) | |
parent | 90e79af18a1115b389d13f143e9d36984b2e02a3 (diff) | |
download | slixmpp-f7a38a028ab6c963f167f5907f3cfbf0a1b0dddc.tar.gz slixmpp-f7a38a028ab6c963f167f5907f3cfbf0a1b0dddc.tar.bz2 slixmpp-f7a38a028ab6c963f167f5907f3cfbf0a1b0dddc.tar.xz slixmpp-f7a38a028ab6c963f167f5907f3cfbf0a1b0dddc.zip |
Merge branch 'default-to-CAs' into 'master'
xmlstream: load default CA store by default
See merge request poezio/slixmpp!209
-rw-r--r-- | slixmpp/xmlstream/xmlstream.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py index 06d48f5c..18464ccd 100644 --- a/slixmpp/xmlstream/xmlstream.py +++ b/slixmpp/xmlstream/xmlstream.py @@ -809,6 +809,8 @@ class XMLStream(asyncio.BaseProtocol): self.ssl_context.verify_mode = ssl.CERT_REQUIRED self.ssl_context.load_verify_locations(cafile=ca_cert) + else: + self.ssl_context.set_default_verify_paths() return self.ssl_context |