summary refs log tree commit diff
path: root/synapse/crypto
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-09-21 12:34:06 +0100
committerRichard van der Hoff <richard@matrix.org>2020-09-21 12:34:06 +0100
commit4f3096d866a9810b1c982669d9567fe47b2db73f (patch)
tree1ab691427bbaf35f847ef155b79924a90f3955fd /synapse/crypto
parentFix a bad merge from release-v1.20.0. (#8354) (diff)
downloadsynapse-4f3096d866a9810b1c982669d9567fe47b2db73f.tar.xz
Add a comment re #1691
Diffstat (limited to 'synapse/crypto')
-rw-r--r--synapse/crypto/context_factory.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/synapse/crypto/context_factory.py b/synapse/crypto/context_factory.py
index 2b03f5ac76..79668a402e 100644
--- a/synapse/crypto/context_factory.py
+++ b/synapse/crypto/context_factory.py
@@ -45,7 +45,11 @@ _TLS_VERSION_MAP = {
 
 class ServerContextFactory(ContextFactory):
     """Factory for PyOpenSSL SSL contexts that are used to handle incoming
-    connections."""
+    connections.
+
+    TODO: replace this with an implementation of IOpenSSLServerConnectionCreator,
+    per https://github.com/matrix-org/synapse/issues/1691
+    """
 
     def __init__(self, config):
         # TODO: once pyOpenSSL exposes TLS_METHOD and SSL_CTX_set_min_proto_version,