diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-09-12 20:16:31 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-12 20:16:31 +1000 |
commit | 8fd93b5eeaeddce16e0b510741dc5d4768cbc78d (patch) | |
tree | 6147991007454bcf8a389f6ce199ad004ed9948e /synapse/crypto/context_factory.py | |
parent | Merge pull request #3845 from matrix-org/erikj/timeout_reads (diff) | |
download | synapse-8fd93b5eeaeddce16e0b510741dc5d4768cbc78d.tar.xz |
Port crypto/ to Python 3 (#3822)
Diffstat (limited to 'synapse/crypto/context_factory.py')
-rw-r--r-- | synapse/crypto/context_factory.py | 2 |
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() ) |