Not needed.

This commit is contained in:
Itamar Turner-Trauring 2022-03-28 11:28:38 -04:00
parent 4e58748c4a
commit 119ba9468e

View File

@ -141,11 +141,9 @@ class _StorageClientHTTPSPolicy:
# IOpenSSLClientConnectionCreator
def clientConnectionForTLS(self, tlsProtocol):
connection = SSL.Connection(
return SSL.Connection(
_TLSContextFactory(self.expected_spki_hash).getContext(), None
)
connection.set_app_data(tlsProtocol)
return connection
class StorageClient(object):