]> granicus.if.org Git - python/commit
bpo-38153: detect shake independently from sha3 (GH-16143)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 16 Sep 2019 12:28:32 +0000 (05:28 -0700)
committerGitHub <noreply@github.com>
Mon, 16 Sep 2019 12:28:32 +0000 (05:28 -0700)
commit0067fc287a86cdd8d71dc2d402d596950ff88fca
tree56bb974e22f6211869118eea22600333a1f911b4
parent07186c3959a61c3d73b5ccae431cdd32afe70e5e
bpo-38153: detect shake independently from sha3 (GH-16143)

XOF digests (SHAKE) are not available in OpenSSL 1.1.0 but SHA3 fixed-length digests are.

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit eb2b0c694aef6122fdf95015abb24e0d095b6401)

Co-authored-by: Christian Heimes <christian@python.org>
Modules/_hashopenssl.c