summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2024-03-10 14:58:04 +0100
committerØrjan Malde <red@foxi.me>2024-03-10 17:12:03 +0100
commitc397bb61015b051ce6234f55161ba2e21397892d (patch)
treebf8b6b7051e0371c0287b96a26e5d7ae92606beb
parenta8a83e8526ab96766130bc141fab0116789c4041 (diff)
downloadmidipix_build-c397bb61015b051ce6234f55161ba2e21397892d.tar.bz2
midipix_build-c397bb61015b051ce6234f55161ba2e21397892d.tar.xz
patches/python3-3.7.10.local.patch: remove useless internal ssl call
Signed-off-by: Ørjan Malde <red@foxi.me>
-rw-r--r--patches/python3-3.7.10.local.patch11
1 files changed, 11 insertions, 0 deletions
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