diff options
author | Jeroen <vo.jeroen@gmail.com> | 2018-06-26 20:41:05 +0200 |
---|---|---|
committer | Jeroen <vo.jeroen@gmail.com> | 2018-06-26 20:41:05 +0200 |
commit | b7f34ee348c9f064d98922dfdbe24a3cf18ca00a (patch) | |
tree | a9fa7d4f11cd231f39fd4e6e146b56e7f2afc183 /synapse/http | |
parent | formatting changes for pep8 (diff) | |
download | synapse-b7f34ee348c9f064d98922dfdbe24a3cf18ca00a.tar.xz |
allow self-signed certificates
Diffstat (limited to 'synapse/http')
-rw-r--r-- | synapse/http/endpoint.py | 2 |
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 |