mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-40645: use C implementation of HMAC (GH-24920)
- [x] fix tests - [ ] add test scenarios for old/new code. Signed-off-by: Christian Heimes <christian@python.org>
This commit is contained in:
parent
5d6e8c1c1a
commit
933dfd7504
6 changed files with 269 additions and 126 deletions
|
@ -173,6 +173,7 @@ try:
|
|||
algorithms_available = algorithms_available.union(
|
||||
_hashlib.openssl_md_meth_names)
|
||||
except ImportError:
|
||||
_hashlib = None
|
||||
new = __py_new
|
||||
__get_hash = __get_builtin_constructor
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue