]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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 11:39:46 +0000 (12:39 +0100)
committerGitHub <noreply@github.com>
Sun, 23 Mar 2025 11:39:46 +0000 (11:39 +0000)
commit63a4273031337aa2353affbe2b162a601f95f3d1
tree97caa211281e0cee3e85c8c9baf2c25e14de4253
parentb1e238433517ee171d348f780365db030b7b2d2f
[3.12] gh-131418: remove unused legacy typedefs in `{md5,sha1}module.c` (GH-131420) (#131619)

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