summary refs log tree commit diff
path: root/synapse/crypto/context_factory.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/crypto/context_factory.py')
-rw-r--r--synapse/crypto/context_factory.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/crypto/context_factory.py b/synapse/crypto/context_factory.py

index 85f2848fb1..83f053d73d 100644 --- a/synapse/crypto/context_factory.py +++ b/synapse/crypto/context_factory.py
@@ -128,10 +128,11 @@ 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, - CertificateOptions(verify=False).getContext() + self._options.getContext() )