summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-04-02 13:15:23 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2019-04-02 13:15:23 +0100
commit61a39a44d3577307f638f76f85a8f722a1ba15f6 (patch)
tree5f1bb49d729145f592a515cdf3317e44bc8c831e
parentCorrect imports (diff)
downloadsynapse-61a39a44d3577307f638f76f85a8f722a1ba15f6.tar.xz
isort
-rw-r--r--synapse/crypto/context_factory.py3
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__)