From: Richard Levitte Date: Tue, 15 Apr 2003 13:01:50 +0000 (+0000) Subject: Memory leak fix: local blinding structure not freed in rsa_eay_private_decrypt() X-Git-Tag: OpenSSL_0_9_7c~114 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8f09a154e32f84d1ae64459dc842b375a79e2c92;p=oweals%2Fopenssl.git 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 027b4dc754..e0d286266e 100644 --- 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);