1 Index: Modules/_hashopenssl.c
2 --- Modules/_hashopenssl.c.orig
3 +++ Modules/_hashopenssl.c
5 # error "OPENSSL_THREADS is not defined, Python requires thread-safe OpenSSL"
8 -#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
9 +#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
10 + (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
12 #define EVP_MD_CTX_new EVP_MD_CTX_create
13 #define EVP_MD_CTX_free EVP_MD_CTX_destroy