From 119ba9468e57a22cac191743c14c7f9ff50c3790 Mon Sep 17 00:00:00 2001 From: Itamar Turner-Trauring Date: Mon, 28 Mar 2022 11:28:38 -0400 Subject: [PATCH] Not needed. --- src/allmydata/storage/http_client.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/allmydata/storage/http_client.py b/src/allmydata/storage/http_client.py index a4aaad1bc..c0371ffa5 100644 --- a/src/allmydata/storage/http_client.py +++ b/src/allmydata/storage/http_client.py @@ -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):