From: Richard Levitte Date: Tue, 15 Apr 2003 13:01:37 +0000 (+0000) Subject: Memory leak fix: local blinding structure not freed in rsa_eay_private_decrypt() X-Git-Tag: BEN_FIPS_TEST_1~38^2~135 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=cd1226bc6a7849e8103bb5fae55fe560ad16d20f 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 aff86343cc..ee2a70bb48 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);