This commit is contained in:
Andrew Morgan 2019-04-02 12:05:40 +01:00
parent cc149b11ea
commit 86470139e0

View file

@ -21,7 +21,12 @@ from OpenSSL import SSL, crypto
from twisted.internet._sslverify import _defaultCurveName from twisted.internet._sslverify import _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, OpenSSLCertificateAuthorities from twisted.internet.ssl import (
CertificateOptions,
ContextFactory,
platformTrust,
OpenSSLCertificateAuthorities,
)
from twisted.python.failure import Failure from twisted.python.failure import Failure
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)