mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-15 02:15:30 -04:00
Merge remote-tracking branch 'upstream/release-v1.45'
This commit is contained in:
commit
80adb0a6ca
196 changed files with 4122 additions and 2177 deletions
|
@ -913,7 +913,7 @@ class InsecureInterceptableContextFactory(ssl.ContextFactory):
|
|||
|
||||
def __init__(self):
|
||||
self._context = SSL.Context(SSL.SSLv23_METHOD)
|
||||
self._context.set_verify(VERIFY_NONE, lambda *_: None)
|
||||
self._context.set_verify(VERIFY_NONE, lambda *_: False)
|
||||
|
||||
def getContext(self, hostname=None, port=None):
|
||||
return self._context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue