diff options
| author | Rosen Penev <rosenp@gmail.com> | 2019-11-21 05:21:00 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-21 05:21:00 -0800 |
| commit | a634589ef6fbf1b1cd42d9f2cc3139b9b729ff0e (patch) | |
| tree | ea813542c38b3dcadacc0b9bb07022f00d62110c /lang/python/python3 | |
| parent | 24667753a20250e3df33ffe7f30b063a02ff01ee (diff) | |
| parent | 85eee2d7f85421fd9156fb988ac865679e4e7851 (diff) | |
Merge pull request #10604 from yorkie/fix/python3-build
python3: fix build when Blake2 not enabled in OpenSSL
Diffstat (limited to 'lang/python/python3')
| -rw-r--r-- | lang/python/python3/patches/002-fix-blake2-detection.patch | 2 |
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 |
