]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44048: Fix two hashlib test cases under FIPS mode (GH-26470)
authorstratakis <cstratak@redhat.com>
Fri, 4 Jun 2021 16:47:59 +0000 (18:47 +0200)
committerGitHub <noreply@github.com>
Fri, 4 Jun 2021 16:47:59 +0000 (17:47 +0100)
commita46c220edc5cf716d0b71eb80ac29ecdb4ebb430
tree37cd2726cd17e5a7be0a40719c043f6a720f9b8c
parent6ab65c670dd9e9b95f363e25e308d6fc2f4fe92a
bpo-44048: Fix two hashlib test cases under FIPS mode (GH-26470)

test_disallow_instantiation and test_readonly_types try to test all the available
digests, however under FIPS mode, while the algorithms are available, trying to use
them will fail with a ValueError.
Lib/test/test_hashlib.py