commit | 16d4e6f6f559b4fd21c9d29fea303489f658674f | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@python.org> | Fri May 15 18:28:05 2020 +0200 |
committer | GitHub <noreply@github.com> | Fri May 15 09:28:05 2020 -0700 |
tree | ebd70940b0147524ed822bf40515e0312f3c6872 | |
parent | 6e57237faf0da8904e0130a11350cae3c5062b82 [diff] |
bpo-40479: Fix hashlib issue with OpenSSL 3.0.0 (GH-20107) OpenSSL 3.0.0-alpha2 was released today. The FIPS_mode() function has been deprecated and removed. It no longer makes sense with the new provider and context system in OpenSSL 3.0.0. EVP_default_properties_is_fips_enabled() is good enough for our needs in unit tests. It's an internal API, too. Signed-off-by: Christian Heimes <christian@python.org>