[git] GCRYPT - branch, LIBGCRYPT-1-7-BRANCH, updated. libgcrypt-1.7.7-6-gaff5fd0
by NIIBE Yutaka
cvs at cvs.gnupg.org
Thu Jun 29 05:38:20 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 aff5fd0f2650e24cf99efcd7b499627ea48782c3 (commit)
from a9f612def801c8145d551d995475e5d51a4c988c (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 aff5fd0f2650e24cf99efcd7b499627ea48782c3
Author: NIIBE Yutaka <gniibe at fsij.org>
Date: Thu Jun 29 12:36:27 2017 +0900
rsa: Fix exponent blinding.
* cipher/rsa.c (secret): Free D_BLIND.
--
Fixes-commit: a9f612def801c8145d551d995475e5d51a4c988c
Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
diff --git a/cipher/rsa.c b/cipher/rsa.c
index b894e5a..27386e7 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 ( D_blind );
mpi_free ( h );
mpi_free ( m1 );
mpi_free ( m2 );
-----------------------------------------------------------------------
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