summaryrefslogtreecommitdiff
path: root/dev-lang/python/files/hashopenssl.patch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-10 14:38:07 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-04-10 14:38:07 +0000
commitfd57488a76e3d4aed30d4cdfd48aa3ae30da84c7 (patch)
tree5d42464c9b2451211597c8d252eef53d5255315d /dev-lang/python/files/hashopenssl.patch
parentb1a709e20d65de4534cfec94250998850c052218 (diff)
downloadbaldeagleos-repo-fd57488a76e3d4aed30d4cdfd48aa3ae30da84c7.tar.gz
baldeagleos-repo-fd57488a76e3d4aed30d4cdfd48aa3ae30da84c7.tar.xz
baldeagleos-repo-fd57488a76e3d4aed30d4cdfd48aa3ae30da84c7.zip
Adding metadata
Diffstat (limited to 'dev-lang/python/files/hashopenssl.patch')
-rw-r--r--dev-lang/python/files/hashopenssl.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-lang/python/files/hashopenssl.patch b/dev-lang/python/files/hashopenssl.patch
new file mode 100644
index 000000000000..2ca469a2bf00
--- /dev/null
+++ b/dev-lang/python/files/hashopenssl.patch
@@ -0,0 +1,15 @@
+Index: Modules/_hashopenssl.c
+--- Modules/_hashopenssl.c.orig
++++ Modules/_hashopenssl.c
+@@ -45,11 +45,6 @@
+
+ #define MUNCH_SIZE INT_MAX
+
+-#define PY_OPENSSL_HAS_SCRYPT 1
+-#define PY_OPENSSL_HAS_SHA3 1
+-#define PY_OPENSSL_HAS_SHAKE 1
+-#define PY_OPENSSL_HAS_BLAKE2 1
+-
+ #if OPENSSL_VERSION_NUMBER >= 0x30000000L
+ #define PY_EVP_MD EVP_MD
+ #define PY_EVP_MD_fetch(algorithm, properties) EVP_MD_fetch(NULL, algorithm, properties)