From c397bb61015b051ce6234f55161ba2e21397892d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Sun, 10 Mar 2024 14:58:04 +0100 Subject: patches/python3-3.7.10.local.patch: remove useless internal ssl call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ørjan Malde --- patches/python3-3.7.10.local.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'patches/python3-3.7.10.local.patch') diff --git a/patches/python3-3.7.10.local.patch b/patches/python3-3.7.10.local.patch index 5a098300..e101fc7a 100644 --- a/patches/python3-3.7.10.local.patch +++ b/patches/python3-3.7.10.local.patch @@ -1,3 +1,14 @@ +diff -ru Python-3.7.10.orig/Modules/_ssl.c Python-3.7.10/Modules/_ssl.c +--- Python-3.7.10.orig/Modules/_ssl.c 2021-02-16 02:29:22.000000000 +0100 ++++ Python-3.7.10/Modules/_ssl.c 2024-03-10 14:05:44.867860819 +0100 +@@ -921,7 +921,6 @@ + self->err = err; + + /* Make sure the SSL error state is initialized */ +- (void) ERR_get_state(); + ERR_clear_error(); + + PySSL_BEGIN_ALLOW_THREADS diff -ru Python-3.7.10.orig/Modules/_hashopenssl.c Python-3.7.10/Modules/_hashopenssl.c --- Python-3.7.10.orig/Modules/_hashopenssl.c 2021-02-16 02:29:22.000000000 +0100 +++ Python-3.7.10/Modules/_hashopenssl.c 2022-02-24 22:45:05.056189097 +0100 -- cgit v1.2.3