From 51c21d0feca69d1aa5398243656fdb06c1505802 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 15 Apr 2003 13:01:43 +0000 Subject: [PATCH] Memory leak fix: local blinding structure not freed in rsa_eay_private_decrypt() --- crypto/rsa/rsa_eay.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypto/rsa/rsa_eay.c b/crypto/rsa/rsa_eay.c index 866406406b..47f7f6c360 100644 --- a/crypto/rsa/rsa_eay.c +++ b/crypto/rsa/rsa_eay.c @@ -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); -- 2.25.1