[git] GCRYPT - branch, master, updated. libgcrypt-1.7.0-4-gc7430aa

by NIIBE Yutaka cvs at cvs.gnupg.org
Fri May 6 06:24:35 CEST 2016


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, master has been updated
       via  c7430aa752232aa690c5d8f16575a345442ad8d7 (commit)
      from  ee5a32226a7ca4ab067864e06623fc11a1768900 (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 c7430aa752232aa690c5d8f16575a345442ad8d7
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Fri May 6 13:21:17 2016 +0900

    ecc: Fix ecc_verify for cofactor support.
    
    * cipher/ecc.c (ecc_verify): Fix the argument for cofactor "h".
    
    --
    
    Thanks to onitake.
    GnuPG-bug-id: 2347
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>

diff --git a/cipher/ecc.c b/cipher/ecc.c
index a437a1f..b09902e 100644
--- a/cipher/ecc.c
+++ b/cipher/ecc.c
@@ -1071,7 +1071,7 @@ ecc_verify (gcry_sexp_t s_sig, gcry_sexp_t s_data, gcry_sexp_t s_keyparms)
   if ((ctx.flags & PUBKEY_FLAG_PARAM))
     rc = sexp_extract_param (s_keyparms, NULL, "-p?a?b?g?n?h?/q",
                              &pk.E.p, &pk.E.a, &pk.E.b, &mpi_g, &pk.E.n,
-                             &pk.E.n, &mpi_q, NULL);
+                             &pk.E.h, &mpi_q, NULL);
   else
     rc = sexp_extract_param (s_keyparms, NULL, "/q",
                              &mpi_q, NULL);

-----------------------------------------------------------------------

Summary of changes:
 cipher/ecc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU crypto library
http://git.gnupg.org




More information about the Gnupg-commits mailing list