diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-04-02 13:15:23 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-04-02 13:15:23 +0100 |
commit | 61a39a44d3577307f638f76f85a8f722a1ba15f6 (patch) | |
tree | 5f1bb49d729145f592a515cdf3317e44bc8c831e | |
parent | Correct imports (diff) | |
download | synapse-61a39a44d3577307f638f76f85a8f722a1ba15f6.tar.xz |
isort
-rw-r--r-- | synapse/crypto/context_factory.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/crypto/context_factory.py b/synapse/crypto/context_factory.py index 3faca79200..a236d4896b 100644 --- a/synapse/crypto/context_factory.py +++ b/synapse/crypto/context_factory.py @@ -18,11 +18,10 @@ import logging from zope.interface import implementer from OpenSSL import SSL, crypto -from twisted.internet._sslverify import _defaultCurveName from twisted.internet.abstract import isIPAddress, isIPv6Address from twisted.internet.interfaces import IOpenSSLClientConnectionCreator from twisted.internet.ssl import CertificateOptions, ContextFactory, platformTrust -from twisted.internet._sslverify import OpenSSLCertificateAuthorities +from twisted.internet._sslverify import OpenSSLCertificateAuthorities, _defaultCurveName from twisted.python.failure import Failure logger = logging.getLogger(__name__) |