summary refs log tree commit diff
path: root/synapse/crypto/context_factory.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2019-02-15 18:15:16 +0000
committerhera <matrix@hera.matrix.org>2019-02-15 18:15:21 +0000
commitc10c71e70d4ac3b87a7ace9d12e8df5fdb5b9b94 (patch)
treeb30c7778ef9f162a3f653304ea55dea4a3c22666 /synapse/crypto/context_factory.py
parentMerge pull request #4655 from matrix-org/hawkowl/registration-worker (diff)
downloadsynapse-c10c71e70d4ac3b87a7ace9d12e8df5fdb5b9b94.tar.xz
Emergency changes
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() )