summaryrefslogtreecommitdiff
path: root/lang/python/python3
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/python3')
-rw-r--r--lang/python/python3/patches/002-fix-blake2-detection.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/python3/patches/002-fix-blake2-detection.patch b/lang/python/python3/patches/002-fix-blake2-detection.patch
index 72b6ea219..88916af07 100644
--- a/lang/python/python3/patches/002-fix-blake2-detection.patch
+++ b/lang/python/python3/patches/002-fix-blake2-detection.patch
@@ -5,7 +5,7 @@
#endif
-#ifdef NID_blake2b512
-+#ifndef OPENSSL_NO_BLAKE2
++#if defined(NID_blake2b512) && !defined(OPENSSL_NO_BLAKE2)
#define PY_OPENSSL_HAS_BLAKE2 1
#endif