summary refs log tree commit diff
path: root/synapse/crypto/context_factory.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-04-21 15:35:26 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-04-21 15:35:26 +0100
commit1ca3f404377ee1e62dadc1867780afa5db264694 (patch)
tree47e10c85e83c13f5bc7f2a3f556d2ee92695cda3 /synapse/crypto/context_factory.py
parentMerge commit '9999eb2d0' into anoa/dinsic_release_1_31_0 (diff)
parentAdd type hints to the crypto module. (#8999) (diff)
downloadsynapse-1ca3f404377ee1e62dadc1867780afa5db264694.tar.xz
Merge commit '1c9a85056' into anoa/dinsic_release_1_31_0
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 57fd426e87..74b67b230a 100644 --- a/synapse/crypto/context_factory.py +++ b/synapse/crypto/context_factory.py
@@ -227,7 +227,7 @@ class ConnectionVerifier: # This code is based on twisted.internet.ssl.ClientTLSOptions. - def __init__(self, hostname: bytes, verify_certs): + def __init__(self, hostname: bytes, verify_certs: bool): self._verify_certs = verify_certs _decoded = hostname.decode("ascii")