[git] GCRYPT - branch, master, updated. libgcrypt-1.5.0-115-g71b25a5
by Werner Koch
cvs at cvs.gnupg.org
Mon Apr 15 11:30:32 CEST 2013
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 71b25a5562f68aad81eae52cc1bab9ca7731a7e9 (commit)
from af8a79aea80217a0c85a592db1fa001792a6bf0f (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 71b25a5562f68aad81eae52cc1bab9ca7731a7e9
Author: Werner Koch <wk at gnupg.org>
Date: Mon Apr 15 11:11:58 2013 +0200
Fix addition of EC points.
* mpi/ec.c (_gcry_mpi_ec_add_points): Fix case of P1 given in affine
coordinates.
--
This was a plain copy and paste error, which was found due to explicit
use of affine coordinates by GNUnet's new pseudonyms code.
Signed-off-by: Werner Koch <wk at gnupg.org>
diff --git a/mpi/ec.c b/mpi/ec.c
index c736706..5d2f5c9 100644
--- a/mpi/ec.c
+++ b/mpi/ec.c
@@ -829,7 +829,7 @@ _gcry_mpi_ec_add_points (mpi_point_t result,
ec_mulm (l1, l1, x1, ctx);
}
if (z1_is_one)
- mpi_set (l2, x1);
+ mpi_set (l2, x2);
else
{
ec_powm (l2, z1, mpi_const (MPI_C_TWO), ctx);
-----------------------------------------------------------------------
Summary of changes:
mpi/ec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
The GNU crypto library
http://git.gnupg.org
More information about the Gnupg-commits
mailing list