]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40695: Limit hashlib builtin hash fallback (GH-20259)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 25 May 2020 09:07:35 +0000 (02:07 -0700)
committerGitHub <noreply@github.com>
Mon, 25 May 2020 09:07:35 +0000 (02:07 -0700)
commit7015823971e7c0cf41cd7d9d9991ed0abdc2f1f4
treeafd0a144609fce133426749837a26de5e5bcb1e3
parent82c274e3ba7d011e93805f1552e90baea1752cf1
bpo-40695: Limit hashlib builtin hash fallback (GH-20259)

:mod:`hashlib` no longer falls back to builtin hash implementations when
OpenSSL provides a hash digest and the algorithm is blocked by security
policy.

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

Co-authored-by: Christian Heimes <christian@python.org>
Lib/hashlib.py
Misc/NEWS.d/next/Library/2020-05-20-13-03-28.bpo-40695.lr4aIS.rst [new file with mode: 0644]