Browse Source

Merge pull request #10604 from yorkie/fix/python3-build

python3: fix build when Blake2 not enabled in OpenSSL
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
a634589ef6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lang/python/python3/patches/002-fix-blake2-detection.patch

+ 1
- 1
lang/python/python3/patches/002-fix-blake2-detection.patch View File

@ -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

Loading…
Cancel
Save