Commit 351f539a authored by Christian Heimes's avatar Christian Heimes

Issue #18582: HMAC_CTX_copy() is not available on OpenSSL < 1.0

parent 7058dad0
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment