summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorJeroen <vo.jeroen@gmail.com>2018-06-26 20:41:05 +0200
committerJeroen <vo.jeroen@gmail.com>2018-06-26 20:41:05 +0200
commitb7f34ee348c9f064d98922dfdbe24a3cf18ca00a (patch)
treea9fa7d4f11cd231f39fd4e6e146b56e7f2afc183 /synapse/http
parentformatting changes for pep8 (diff)
downloadsynapse-b7f34ee348c9f064d98922dfdbe24a3cf18ca00a.tar.xz
allow self-signed certificates
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/endpoint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/endpoint.py b/synapse/http/endpoint.py
index abf4862084..39432da452 100644
--- a/synapse/http/endpoint.py
+++ b/synapse/http/endpoint.py
@@ -65,7 +65,7 @@ def matrix_federation_endpoint(reactor, destination, tls_client_options_factory=
     else:
         def transport_endpoint(reactor, host, port, timeout):
             return wrapClientTLS(
-                tls_client_options_factory.get_options(unicode(host)),
+                tls_client_options_factory.get_options(host),
                 HostnameEndpoint(reactor, host, port, timeout=timeout))
         default_port = 8448