]> granicus.if.org Git - python/commit
[3.6] bpo-9146: Raise a ValueError if OpenSSL fails to init a hash func (#3274)
authorGregory P. Smith <greg@krypto.org>
Sun, 3 Sep 2017 21:35:19 +0000 (14:35 -0700)
committerGitHub <noreply@github.com>
Sun, 3 Sep 2017 21:35:19 +0000 (14:35 -0700)
commit31b8efeaa893e95358b71eb2b8365552d3966b4a
treec15a663acbb49650e1933e82bca28569b8941494
parentd4097353baf7c3f2679f68679e36f2b3fd56c3f5
[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 07244a83014fad42da937c17d98474b47a570bf7)

* Include a NEWS entry.
Misc/NEWS.d/next/Library/2017-09-03-14-10-00.bps-9146._-oo-_.rst [new file with mode: 0644]
Modules/_hashopenssl.c