Skip to content

Commit 5800ad4

Browse files
meyeringmeta-codesync[bot]
authored andcommitted
Add patch '20-guard-py-openssl-has-scrypt' to third-party/python/3.14
Summary: This diff adds a patch to the `third-party/python/3.14` Meta-internal fork. Guard PY_OPENSSL_HAS_SCRYPT with #ifndef OPENSSL_NO_SCRYPT for OpenSSL builds without scrypt support Reviewed By: itamaro Differential Revision: D95827406 fbshipit-source-id: 005d73c58922763035c737e0f3b808b09ed2899e
1 parent 63aa89b commit 5800ad4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Modules/_hashopenssl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@
4444

4545
#define MUNCH_SIZE INT_MAX
4646

47+
#ifndef OPENSSL_NO_SCRYPT
4748
#define PY_OPENSSL_HAS_SCRYPT 1
49+
#endif
4850
#if defined(NID_sha3_224) && defined(NID_sha3_256) && defined(NID_sha3_384) && defined(NID_sha3_512)
4951
#define PY_OPENSSL_HAS_SHA3 1
5052
#endif

0 commit comments

Comments
 (0)