diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-04-01 18:20:32 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-04-01 18:20:32 +0100 |
commit | 4f177c5002007be0072f4f70439cc2f9b5cf1b6e (patch) | |
tree | 9a31caaaf9aaf801e16ddfe8814ab475eca3a153 | |
parent | Cache config (diff) | |
download | synapse-4f177c5002007be0072f4f70439cc2f9b5cf1b6e.tar.xz |
again
-rw-r--r-- | synapse/crypto/context_factory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/crypto/context_factory.py b/synapse/crypto/context_factory.py index 41f23a3e1a..fbe2bd454d 100644 --- a/synapse/crypto/context_factory.py +++ b/synapse/crypto/context_factory.py @@ -138,7 +138,7 @@ class ClientTLSOptionsFactory(object): # Use _makeContext so that we get a fresh OpenSSL CTX each time. # Check if certificate verification has been enabled - if (config.federation_verify_certificates and + if (self._config.federation_verify_certificates and host not in self._config.federation_certificate_validation_whitelist): # Require verification return ClientTLSOptions(host, self._options_validate._makeContext()) |