summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/crypto/context_factory.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/crypto/context_factory.py b/synapse/crypto/context_factory.py

index 83f053d73d..85f2848fb1 100644 --- a/synapse/crypto/context_factory.py +++ b/synapse/crypto/context_factory.py
@@ -128,11 +128,10 @@ class ClientTLSOptionsFactory(object): def __init__(self, config): # We don't use config options yet - self._options = CertificateOptions(verify=False) pass def get_options(self, host): return ClientTLSOptions( host, - self._options.getContext() + CertificateOptions(verify=False).getContext() )