mirror of
https://github.com/python/cpython.git
synced 2026-01-03 05:54:03 +00:00
test_hmac and test_hashlib test built-in hashing implementations and
OpenSSL-based hashing implementations. Add more checks to skip OpenSSL
implementations when a strict crypto policy is active.
Use EVP_DigestInit_ex() instead of EVP_DigestInit() to initialize the
EVP context. The EVP_DigestInit() function clears alls flags and breaks
usedforsecurity flag again.
Signed-off-by: Christian Heimes <christian@python.org>
https://bugs.python.org/issue38270.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| script_helper.py | ||
| testresult.py | ||