aboutsummaryrefslogtreecommitdiff
path: root/crypto/rsa/rsa_eay.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-04-15 13:01:37 +0000
committerRichard Levitte <levitte@openssl.org>2003-04-15 13:01:37 +0000
commitcd1226bc6a7849e8103bb5fae55fe560ad16d20f (patch)
treec3d6343f50b46c8f8fbcdebb3149ba656ed6d052 /crypto/rsa/rsa_eay.c
parent7a04fdd87f544cef6aa08d54f7b9ff6b1eb4e7ab (diff)
downloadopenssl-cd1226bc6a7849e8103bb5fae55fe560ad16d20f.zip
openssl-cd1226bc6a7849e8103bb5fae55fe560ad16d20f.tar.gz
openssl-cd1226bc6a7849e8103bb5fae55fe560ad16d20f.tar.bz2
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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/rsa/rsa_eay.c b/crypto/rsa/rsa_eay.c
index aff8634..ee2a70b 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);