summaryrefslogtreecommitdiff
path: root/lang/python/python3/patches/026-openssl-feature-flags.patch
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2022-01-17 04:29:10 +0800
committerJeffery To <jeffery.to@gmail.com>2022-01-17 04:32:42 +0800
commit5b2c8bccf3deff782a7a21b98cd96044747f574f (patch)
tree35144393e548f6e184b2cff04b227083ed79f398 /lang/python/python3/patches/026-openssl-feature-flags.patch
parent6831c51a8cf9f6523a181a4a39de484d54c8df4c (diff)
python3: Update to 3.10.2, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python3/patches/026-openssl-feature-flags.patch')
-rw-r--r--lang/python/python3/patches/026-openssl-feature-flags.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/python/python3/patches/026-openssl-feature-flags.patch b/lang/python/python3/patches/026-openssl-feature-flags.patch
index 398012ae4..9272f36a4 100644
--- a/lang/python/python3/patches/026-openssl-feature-flags.patch
+++ b/lang/python/python3/patches/026-openssl-feature-flags.patch
@@ -1,6 +1,6 @@
--- a/Modules/_hashopenssl.c
+++ b/Modules/_hashopenssl.c
-@@ -43,7 +43,9 @@
+@@ -48,7 +48,9 @@
#define PY_OPENSSL_HAS_SCRYPT 1
#define PY_OPENSSL_HAS_SHA3 1
#define PY_OPENSSL_HAS_SHAKE 1
@@ -8,5 +8,5 @@
#define PY_OPENSSL_HAS_BLAKE2 1
+#endif
- static PyModuleDef _hashlibmodule;
-
+ #if OPENSSL_VERSION_NUMBER >= 0x30000000L
+ #define PY_EVP_MD EVP_MD