mirror of
https://github.com/python/cpython.git
synced 2025-08-11 04:19:06 +00:00
Issue #18582: HMAC_CTX_copy() is not available on OpenSSL < 1.0
This commit is contained in:
parent
7058dad0bd
commit
351f539ad8
1 changed files with 2 additions and 1 deletions
|
@ -498,7 +498,8 @@ EVP_new(PyObject *self, PyObject *args, PyObject *kwdict)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if (!defined(OPENSSL_NO_HMAC) && !defined(OPENSSL_NO_SHA))
|
#if (OPENSSL_VERSION_NUMBER >= 0x10000000 && !defined(OPENSSL_NO_HMAC) \
|
||||||
|
&& !defined(OPENSSL_NO_SHA))
|
||||||
|
|
||||||
#define PY_PBKDF2_HMAC 1
|
#define PY_PBKDF2_HMAC 1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue