[3.6] bpo-9146: Raise a ValueError if OpenSSL fails to init a hash fu… · python/cpython@31b8efe · GitHub
Skip to content

Commit 31b8efe

Browse files
authored
[3.6] bpo-9146: Raise a ValueError if OpenSSL fails to init a hash func (#3274)
* [3.6] bpo-9146: Raise a ValueError if OpenSSL fails to init a hash func. (GH-1777) This helps people in weird FIPS mode environments where common things like MD5 are not available in the binary as a matter of policy. (cherry picked from commit 07244a8) * Include a NEWS entry.
1 parent d409735 commit 31b8efe

2 files changed

Lines changed: 39 additions & 9 deletions

File tree

Lines changed: 3 additions & 0 deletions

Modules/_hashopenssl.c

Lines changed: 36 additions & 9 deletions

0 commit comments

Comments
 (0)