summary refs log tree commit diff
path: root/synapse/http/client.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-09-01 18:43:08 +0100
committerMark Haines <mark.haines@matrix.org>2014-09-01 18:43:08 +0100
commit5452a8ee2990658b5582c74bb96e7624085f0b9b (patch)
tree5b3fea43683e68d8e7ea246e97b9958f4a41913e /synapse/http/client.py
parentMerge remote-tracking branch 'origin/develop' into server2server_tls (diff)
downloadsynapse-5452a8ee2990658b5582c74bb96e7624085f0b9b.tar.xz
Fix SSL for federation http client
Diffstat (limited to 'synapse/http/client.py')
-rw-r--r--synapse/http/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/client.py b/synapse/http/client.py
index acc39742de..093bdf0e3f 100644
--- a/synapse/http/client.py
+++ b/synapse/http/client.py
@@ -180,7 +180,7 @@ class TwistedHttpClient(HttpClient):
         # TODO: setup and pass in an ssl_context to enable TLS
         endpoint = matrix_endpoint(
             reactor, destination, timeout=10,
-            ssl_context_factory=self.hs.tls_tls_context_factory
+            ssl_context_factory=self.hs.tls_context_factory
         )
 
         while True: