]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-9216: Expose OpenSSL FIPS_mode() as _hashlib.get_fips_mode() (GH-19703)
authorVictor Stinner <vstinner@python.org>
Wed, 29 Apr 2020 16:04:22 +0000 (18:04 +0200)
committerGitHub <noreply@github.com>
Wed, 29 Apr 2020 16:04:22 +0000 (09:04 -0700)
commite3dfb9b967c560f4d094092dcae4a16fc9634681
tree87cce94d1a8858c6a8cf591557a5778d7e01ae65
parente5963ee32035d279c12ef32e87205d4c3e5e4a0e
bpo-9216: Expose OpenSSL FIPS_mode() as _hashlib.get_fips_mode() (GH-19703)

test.pythoninfo logs OpenSSL FIPS_mode() and Linux
/proc/sys/crypto/fips_enabled in a new "fips" section.

Co-Authored-By: Petr Viktorin <encukou@gmail.com>
Lib/test/pythoninfo.py
Lib/test/test_hashlib.py
Modules/_hashopenssl.c
Modules/clinic/_hashopenssl.c.h