This commit is contained in:
Andrew Morgan 2019-04-02 13:18:49 +01:00
parent 61a39a44d3
commit 3e29d458f2

View file

@ -18,10 +18,10 @@ import logging
from zope.interface import implementer from zope.interface import implementer
from OpenSSL import SSL, crypto from OpenSSL import SSL, crypto
from twisted.internet._sslverify import OpenSSLCertificateAuthorities, _defaultCurveName
from twisted.internet.abstract import isIPAddress, isIPv6Address from twisted.internet.abstract import isIPAddress, isIPv6Address
from twisted.internet.interfaces import IOpenSSLClientConnectionCreator from twisted.internet.interfaces import IOpenSSLClientConnectionCreator
from twisted.internet.ssl import CertificateOptions, ContextFactory, platformTrust from twisted.internet.ssl import CertificateOptions, ContextFactory, platformTrust
from twisted.internet._sslverify import OpenSSLCertificateAuthorities, _defaultCurveName
from twisted.python.failure import Failure from twisted.python.failure import Failure
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)