diff options
author | Jeroen <vo.jeroen@gmail.com> | 2018-06-24 22:38:43 +0200 |
---|---|---|
committer | Jeroen <vo.jeroen@gmail.com> | 2018-06-24 22:38:43 +0200 |
commit | 3d605853c8e649ab4b3f91fb0a32cc77ef05d71f (patch) | |
tree | a7528c2dcf069b50cbe6571bb29bf42610ab3d21 /synapse/crypto/keyclient.py | |
parent | Revert "Merge pull request #3431 from matrix-org/rav/erasure_visibility" (diff) | |
download | synapse-3d605853c8e649ab4b3f91fb0a32cc77ef05d71f.tar.xz |
send SNI for federation requests
Diffstat (limited to 'synapse/crypto/keyclient.py')
-rw-r--r-- | synapse/crypto/keyclient.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/crypto/keyclient.py b/synapse/crypto/keyclient.py index f1fd488b90..8e48f8a9cf 100644 --- a/synapse/crypto/keyclient.py +++ b/synapse/crypto/keyclient.py @@ -28,14 +28,14 @@ KEY_API_V1 = b"/_matrix/key/v1/" @defer.inlineCallbacks -def fetch_server_key(server_name, ssl_context_factory, path=KEY_API_V1): +def fetch_server_key(server_name, tls_client_options_factory, path=KEY_API_V1): """Fetch the keys for a remote server.""" factory = SynapseKeyClientFactory() factory.path = path factory.host = server_name endpoint = matrix_federation_endpoint( - reactor, server_name, ssl_context_factory, timeout=30 + reactor, server_name, tls_client_options_factory, timeout=30 ) for i in range(5): |