Memory leak fix: local blinding structure not freed in rsa_eay_private_decrypt()
This commit is contained in:
parent
4e7566579e
commit
8f09a154e3
@ -484,6 +484,8 @@ err:
|
|||||||
if (ctx != NULL) BN_CTX_free(ctx);
|
if (ctx != NULL) BN_CTX_free(ctx);
|
||||||
BN_clear_free(&f);
|
BN_clear_free(&f);
|
||||||
BN_clear_free(&ret);
|
BN_clear_free(&ret);
|
||||||
|
if (local_blinding)
|
||||||
|
BN_BLINDING_free(blinding);
|
||||||
if (buf != NULL)
|
if (buf != NULL)
|
||||||
{
|
{
|
||||||
OPENSSL_cleanse(buf,num);
|
OPENSSL_cleanse(buf,num);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user