diff options
Diffstat (limited to 'lang/python/python3/patches/026-openssl-feature-flags.patch')
| -rw-r--r-- | lang/python/python3/patches/026-openssl-feature-flags.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/python/python3/patches/026-openssl-feature-flags.patch b/lang/python/python3/patches/026-openssl-feature-flags.patch index 398012ae4..9272f36a4 100644 --- a/lang/python/python3/patches/026-openssl-feature-flags.patch +++ b/lang/python/python3/patches/026-openssl-feature-flags.patch @@ -1,6 +1,6 @@ --- a/Modules/_hashopenssl.c +++ b/Modules/_hashopenssl.c -@@ -43,7 +43,9 @@ +@@ -48,7 +48,9 @@ #define PY_OPENSSL_HAS_SCRYPT 1 #define PY_OPENSSL_HAS_SHA3 1 #define PY_OPENSSL_HAS_SHAKE 1 @@ -8,5 +8,5 @@ #define PY_OPENSSL_HAS_BLAKE2 1 +#endif - static PyModuleDef _hashlibmodule; - + #if OPENSSL_VERSION_NUMBER >= 0x30000000L + #define PY_EVP_MD EVP_MD |
