updated python*

This commit is contained in:
2022-09-30 19:34:16 +02:00
parent 09ae4818b1
commit c1e1954a8b
28 changed files with 13326 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
Fix build with LibreSSL 3.5.*
--- Modules/_hashopenssl.c.orig 2022-03-16 13:27:21 UTC
+++ Modules/_hashopenssl.c
@@ -42,7 +42,7 @@ module _hashlib
#define HASH_OBJ_CONSTRUCTOR 0
#endif
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
/* OpenSSL < 1.1.0 */
#define EVP_MD_CTX_new EVP_MD_CTX_create
#define EVP_MD_CTX_free EVP_MD_CTX_destroy