microsoft / go-crypto-openssl

Go crypto backend for Linux using OpenSSL
MIT License
61 stars 15 forks source link

[v0.1] free HMAC context when it is garbage collected #39

Closed qmuntal closed 2 years ago

qmuntal commented 2 years ago

Cherry-pick #38 to v0.1 so the fix can be backported to go1.18.

(cherry picked from commit 066097424794ede74ef161c68b36f18b44dc6cb8)