SIGN IN SIGN UP

[3.13] gh-130151: Fix reference leaks in `_hashlib.hmac_{new,digest}` (GH-130152) (#130491)

gh-130151: Fix reference leaks in `_hashlib.hmac_{new,digest}` (GH-130152)

* fix leak in `_hashlib.hmac_new`
* fix leak in `hmac_digest`
* fix exception type in `_hashlib.HMAC.copy`
(cherry picked from commit 071820113f11b8f6a21f98652d0840e10268114c)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
M
Miss Islington (bot) committed
86dab0e67e7e75c4c77e994b99a842f033ddbe46
Parent: bbfae4a
Committed by GitHub <noreply@github.com> on 2/24/2025, 8:19:49 AM