summary refs log tree commit diff
path: root/synapse/crypto/context_factory.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-09-12 20:16:31 +1000
committerGitHub <noreply@github.com>2018-09-12 20:16:31 +1000
commit8fd93b5eeaeddce16e0b510741dc5d4768cbc78d (patch)
tree6147991007454bcf8a389f6ce199ad004ed9948e /synapse/crypto/context_factory.py
parentMerge pull request #3845 from matrix-org/erikj/timeout_reads (diff)
downloadsynapse-8fd93b5eeaeddce16e0b510741dc5d4768cbc78d.tar.xz
Port crypto/ to Python 3 (#3822)
Diffstat (limited to 'synapse/crypto/context_factory.py')
-rw-r--r--synapse/crypto/context_factory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/crypto/context_factory.py b/synapse/crypto/context_factory.py
index 1a391adec1..02b76dfcfb 100644
--- a/synapse/crypto/context_factory.py
+++ b/synapse/crypto/context_factory.py
@@ -123,6 +123,6 @@ class ClientTLSOptionsFactory(object):
 
     def get_options(self, host):
         return ClientTLSOptions(
-            host.decode('utf-8'),
+            host,
             CertificateOptions(verify=False).getContext()
         )