Memory leak fix: local blinding structure not freed in rsa_eay_private_decrypt()
This commit is contained in:
parent
0698f54e0e
commit
51c21d0fec
1 changed files with 2 additions and 0 deletions
|
@ -482,6 +482,8 @@ err:
|
|||
if (ctx != NULL) BN_CTX_free(ctx);
|
||||
BN_clear_free(&f);
|
||||
BN_clear_free(&ret);
|
||||
if (local_blinding)
|
||||
BN_BLINDING_free(blinding);
|
||||
if (buf != NULL)
|
||||
{
|
||||
OPENSSL_cleanse(buf,num);
|
||||
|
|
Loading…
Reference in a new issue