summary refs log tree commit diff
path: root/synapse/server.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2015-09-15 15:50:13 +0100
committerDaniel Wagner-Hall <daniel@matrix.org>2015-09-15 15:50:13 +0100
commitd4af08a167cb5351110036c35bdfc267242d8131 (patch)
tree3b281a6e3c8a3c2ea8b0c3f0bffa0286b86418c9 /synapse/server.py
parentRename context factory (diff)
downloadsynapse-d4af08a167cb5351110036c35bdfc267242d8131.tar.xz
Use shorter config key name
Diffstat (limited to 'synapse/server.py')
-rw-r--r--synapse/server.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/server.py b/synapse/server.py
index d96c5a573a..8424798b1b 100644
--- a/synapse/server.py
+++ b/synapse/server.py
@@ -181,7 +181,8 @@ class HomeServer(BaseHomeServer):
     def build_http_client_context_factory(self):
         config = self.get_config()
         return (
-            InsecureInterceptableContextFactory() if config.use_insecure_ssl_client
+            InsecureInterceptableContextFactory()
+            if config.use_insecure_ssl_client_just_for_testing_do_not_use
             else BrowserLikePolicyForHTTPS()
         )