This #define is currently checked for in PyInit__hashlib(), but never defined. Define it when appropriate, using the logic from Modules/_ssl.c.
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. When your account is ready, please add a comment in this pull request Thanks again for your contribution, we look forward to reviewing it! |
|
CLA signed, can someone remove the tag please? Thanks! |
|
Hi, thanks for your PR. There were some minor issues with your PR (missing news, conflicts) and I decided to go for a slightly different approach in PR #16140 16140 |
In Modules/_hashopenssl.c, the
OPENSSL_VERSION_1_1macro is checked for inPyInit__hashlib(), but never defined.This causes build failures with some OpenSSL 1.1.
Define it when appropriate, using the logic from Modules/_ssl.c.
https://bugs.python.org/issue33936