mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-38684: haslib: fix build when Blake2 not enabled in OpenSSL (#17043)
This commit is contained in:
parent
1cdadf414b
commit
6552563b3d
2 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
|||
#define PY_OPENSSL_HAS_SHAKE 1
|
||||
#endif
|
||||
|
||||
#ifdef NID_blake2b512
|
||||
#if defined(NID_blake2b512) && !defined(OPENSSL_NO_BLAKE2)
|
||||
#define PY_OPENSSL_HAS_BLAKE2 1
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue