diff options
author | Daniel Wagner-Hall <daniel@matrix.org> | 2015-09-15 15:50:13 +0100 |
---|---|---|
committer | Daniel Wagner-Hall <daniel@matrix.org> | 2015-09-15 15:50:13 +0100 |
commit | d4af08a167cb5351110036c35bdfc267242d8131 (patch) | |
tree | 3b281a6e3c8a3c2ea8b0c3f0bffa0286b86418c9 /synapse/server.py | |
parent | Rename context factory (diff) | |
download | synapse-d4af08a167cb5351110036c35bdfc267242d8131.tar.xz |
Use shorter config key name
Diffstat (limited to 'synapse/server.py')
-rw-r--r-- | synapse/server.py | 3 |
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() ) |