0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-17 07:21:37 +01:00

updated docstring for ServerContextFactory

This commit is contained in:
Jeroen 2018-08-08 19:25:01 +02:00
parent 2903e65aff
commit d5c0ce4cad

View file

@ -26,7 +26,7 @@ logger = logging.getLogger(__name__)
class ServerContextFactory(ContextFactory): class ServerContextFactory(ContextFactory):
"""Factory for PyOpenSSL SSL contexts that are used to handle incoming """Factory for PyOpenSSL SSL contexts that are used to handle incoming
connections and to make connections to remote servers.""" connections."""
def __init__(self, config): def __init__(self, config):
self._context = SSL.Context(SSL.SSLv23_METHOD) self._context = SSL.Context(SSL.SSLv23_METHOD)