diff options
author | Ørjan Malde <red@foxi.me> | 2024-03-10 14:57:46 +0100 |
---|---|---|
committer | Ørjan Malde <red@foxi.me> | 2024-03-10 17:12:00 +0100 |
commit | a8a83e8526ab96766130bc141fab0116789c4041 (patch) | |
tree | 3b3c1ed5e20006d660149a605a6d342233588069 /patches | |
parent | 4d5354a2e62755f26266737a728277f83b33413a (diff) | |
download | midipix_build-a8a83e8526ab96766130bc141fab0116789c4041.tar.bz2 midipix_build-a8a83e8526ab96766130bc141fab0116789c4041.tar.xz |
patches/python2-2.7.18.local.patch: remove useless internal ssl call
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/python2-2.7.18.local.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/python2-2.7.18.local.patch b/patches/python2-2.7.18.local.patch index e13aa68a..74bcd7e2 100644 --- a/patches/python2-2.7.18.local.patch +++ b/patches/python2-2.7.18.local.patch @@ -1,3 +1,14 @@ +diff -ru Python-2.7.18.orig/Modules/_ssl.c Python-2.7.18/Modules/_ssl.c +--- Python-2.7.18.orig/Modules/_ssl.c 2020-04-19 23:13:39.000000000 +0200 ++++ Python-2.7.18/Modules/_ssl.c 2024-03-10 13:58:48.445497909 +0100 +@@ -592,7 +592,6 @@ + Py_INCREF(sslctx); + + /* Make sure the SSL error state is initialized */ +- (void) ERR_get_state(); + ERR_clear_error(); + + PySSL_BEGIN_ALLOW_THREADS diff -ru Python-2.7.18.orig/Modules/_hashopenssl.c Python-2.7.18/Modules/_hashopenssl.c --- Python-2.7.18.orig/Modules/_hashopenssl.c 2020-04-19 23:13:39.000000000 +0200 +++ Python-2.7.18/Modules/_hashopenssl.c 2022-02-24 22:29:09.497683912 +0100 |