From a21a003aeaea89366971f9f6a5b2fa5d23ca185e Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 2 Aug 2024 01:09:54 +0200 Subject: [PATCH] packages/s3ql: remove ssl monkeypatch (backport from 5.2.1) --- patches/base/s3ql/remove-ssl-monkeypatch.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patches/base/s3ql/remove-ssl-monkeypatch.patch diff --git a/patches/base/s3ql/remove-ssl-monkeypatch.patch b/patches/base/s3ql/remove-ssl-monkeypatch.patch new file mode 100644 index 0000000..565cd44 --- /dev/null +++ b/patches/base/s3ql/remove-ssl-monkeypatch.patch @@ -0,0 +1,12 @@ +diff --git a/tests/t0_http.py b/tests/t0_http.py +index 66ed564f..36bebab1 100755 +--- a/tests/t0_http.py ++++ b/tests/t0_http.py +@@ -289,7 +289,6 @@ def do_GET(self): + + # We don't *actually* want to establish SSL, that'd be + # to complex for our mock server +- monkeypatch.setattr('ssl.match_hostname', lambda x, y: True) + conn = HTTPConnection( + test_host, + test_port,