summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/crypto/context_factory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/crypto/context_factory.py b/synapse/crypto/context_factory.py
index fbe2bd454d..9667b0c806 100644
--- a/synapse/crypto/context_factory.py
+++ b/synapse/crypto/context_factory.py
@@ -130,7 +130,7 @@ class ClientTLSOptionsFactory(object):
         self._config = config
         self._options_validate = CertificateOptions(
             # This option implies verify=True
-            trustRoot=config.federation_custom_ca_list,
+            trustRoot=self._config.federation_custom_ca_list,
         )
         self._options_novalidate = CertificateOptions(verify=False)