| commit | cd1226bc6a7849e8103bb5fae55fe560ad16d20f | [log] [tgz] |
|---|---|---|
| author | Richard Levitte <levitte@openssl.org> | Tue Apr 15 13:01:37 2003 +0000 |
| committer | Richard Levitte <levitte@openssl.org> | Tue Apr 15 13:01:37 2003 +0000 |
| tree | c3d6343f50b46c8f8fbcdebb3149ba656ed6d052 | |
| parent | 7a04fdd87f544cef6aa08d54f7b9ff6b1eb4e7ab [diff] |
Memory leak fix: local blinding structure not freed in rsa_eay_private_decrypt()
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 @@ 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);