blob: 72b6ea219fe4d2fa7c3150ca22c2e48fc0f3fb8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/Modules/_hashopenssl.c
+++ b/Modules/_hashopenssl.c
@@ -42,7 +42,7 @@
#define PY_OPENSSL_HAS_SHAKE 1
#endif
-#ifdef NID_blake2b512
+#ifndef OPENSSL_NO_BLAKE2
#define PY_OPENSSL_HAS_BLAKE2 1
#endif
|