diff options
author | Richard Levitte <levitte@openssl.org> | 2003-04-15 13:01:37 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2003-04-15 13:01:37 +0000 |
commit | cd1226bc6a7849e8103bb5fae55fe560ad16d20f (patch) | |
tree | c3d6343f50b46c8f8fbcdebb3149ba656ed6d052 /crypto/rsa/rsa_eay.c | |
parent | 7a04fdd87f544cef6aa08d54f7b9ff6b1eb4e7ab (diff) |
Memory leak fix: local blinding structure not freed in rsa_eay_private_decrypt()
Diffstat (limited to 'crypto/rsa/rsa_eay.c')
-rw-r--r-- | crypto/rsa/rsa_eay.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/rsa/rsa_eay.c b/crypto/rsa/rsa_eay.c index aff86343cc..ee2a70bb48 100644 --- a/crypto/rsa/rsa_eay.c +++ b/crypto/rsa/rsa_eay.c @@ -504,6 +504,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); |