From: Anthony Sottile Date: Tue, 28 Feb 2023 21:34:06 +0000 (-0500) Subject: gh-99108: Add missing md5/sha1 defines to Modules/Setup (#102308) X-Git-Tag: v3.12.0a6~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=360ef843d8fc03aad38ed84f9f45026ab08ca4f4;p=thirdparty%2FPython%2Fcpython.git gh-99108: Add missing md5/sha1 defines to Modules/Setup (#102308) --- diff --git a/Modules/Setup b/Modules/Setup index ff432e2929ec..1c6f2f7ea518 100644 --- a/Modules/Setup +++ b/Modules/Setup @@ -163,8 +163,8 @@ PYTHONPATH=$(COREPYTHONPATH) # hashing builtins #_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c _blake2/blake2s_impl.c -#_md5 md5module.c -I$(srcdir)/Modules/_hacl/include _hacl/Hacl_Hash_MD5.c -#_sha1 sha1module.c -I$(srcdir)/Modules/_hacl/include _hacl/Hacl_Hash_SHA1.c +#_md5 md5module.c -I$(srcdir)/Modules/_hacl/include _hacl/Hacl_Hash_MD5.c -D_BSD_SOURCE -D_DEFAULT_SOURCE +#_sha1 sha1module.c -I$(srcdir)/Modules/_hacl/include _hacl/Hacl_Hash_SHA1.c -D_BSD_SOURCE -D_DEFAULT_SOURCE #_sha2 sha2module.c -I$(srcdir)/Modules/_hacl/include Modules/_hacl/libHacl_Streaming_SHA2.a #_sha3 _sha3/sha3module.c