summaryrefslogtreecommitdiff
path: root/dev-lang/python/files/hashopenssl.patch
blob: 2ca469a2bf00936791fb0c6e993a7467f2cd1265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)