[git] GCRYPT - branch, LIBGCRYPT-1-7-BRANCH, updated. libgcrypt-1.7.7-7-g312101e
by NIIBE Yutaka
cvs at cvs.gnupg.org
Thu Jun 29 05:41:01 CEST 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU crypto library".
The branch, LIBGCRYPT-1-7-BRANCH has been updated
via 312101e1f266314b4391fcdbe11c03de5c147e38 (commit)
from aff5fd0f2650e24cf99efcd7b499627ea48782c3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 312101e1f266314b4391fcdbe11c03de5c147e38
Author: NIIBE Yutaka <gniibe at fsij.org>
Date: Thu Jun 29 12:40:19 2017 +0900
rsa: More fix.
* cipher/rsa.c (secret): Free R.
--
Fixes-commit: a9f612def801c8145d551d995475e5d51a4c988c
Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
diff --git a/cipher/rsa.c b/cipher/rsa.c
index 27386e7..4d1d38d 100644
--- a/cipher/rsa.c
+++ b/cipher/rsa.c
@@ -1057,6 +1057,7 @@ secret (gcry_mpi_t output, gcry_mpi_t input, RSA_secret_key *skey )
mpi_mul ( h, h, skey->p );
mpi_add ( output, m1, h );
+ mpi_free ( r );
mpi_free ( D_blind );
mpi_free ( h );
mpi_free ( m1 );
-----------------------------------------------------------------------
Summary of changes:
cipher/rsa.c | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
The GNU crypto library
http://git.gnupg.org
More information about the Gnupg-commits
mailing list