projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e75665
)
Memory leak fix: local blinding structure not freed in rsa_eay_private_decrypt()
author
Richard Levitte
<levitte@openssl.org>
Tue, 15 Apr 2003 13:01:50 +0000
(13:01 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Tue, 15 Apr 2003 13:01:50 +0000
(13:01 +0000)
crypto/rsa/rsa_eay.c
patch
|
blob
|
history
diff --git
a/crypto/rsa/rsa_eay.c
b/crypto/rsa/rsa_eay.c
index 027b4dc754f5fb0f461a61611d879a9bdda6bcd2..e0d286266e0c29033a70bb71c683c8f71a888b51 100644
(file)
--- a/
crypto/rsa/rsa_eay.c
+++ b/
crypto/rsa/rsa_eay.c
@@
-484,6
+484,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);