]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-131418: remove unused legacy typedefs in `{md5,sha1}module.c` (GH-131420...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 23 Mar 2025 12:21:57 +0000 (13:21 +0100)
committerGitHub <noreply@github.com>
Sun, 23 Mar 2025 12:21:57 +0000 (12:21 +0000)
commit4af3d0e8109012f2d63467ab62a74f52982d5e29
treec94faf5d7a4c748ee9132b13985b8dab20f70368
parent5e3f93a8d7c34324c2227c73a69e9c22f372a7c5
[3.13] gh-131418: remove unused legacy typedefs in `{md5,sha1}module.c` (GH-131420) (#131620)

gh-131418: remove unused legacy typedefs in `{md5,sha1}module.c` (GH-131420)

- Remove legacy typedefs `MD5_INT32` and `MD5_INT64` in `Modules/md5module.c`
- Remove legacy typedefs `SHA1_INT32` and `SHA1_INT64` in `Modules/sha1module.c`.

Those legacy typedefs were used to detect whether the host platform could
correctly implement MD5 and SHA-1, but this is no longer needed as we now
fallback to HACL* implementations.
(cherry picked from commit a9a399f0ecfeeff91425cc089057f1b95799853b)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Modules/md5module.c
Modules/sha1module.c