microsoft / go-crypto-openssl

Go crypto backend for Linux using OpenSSL
MIT License
55 stars 14 forks source link

Fix memory leak in GenerateKeyRSA #45

Closed qmuntal closed 1 year ago

qmuntal commented 1 year ago

GenerateKeyRSA calls EVP_PKEY_get1_RSA without freeing the returned pointer, causing a leak.