[git] GCRYPT - branch, LIBGCRYPT-1-5-BRANCH, updated. libgcrypt-1.5.1-6-gc736245
by Werner Koch
cvs at cvs.gnupg.org
Mon Apr 15 12:21:49 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, LIBGCRYPT-1-5-BRANCH has been updated
via c7362450c679736ceb82e95fac2e251972f3ea1e (commit)
from 4f57ad0f8744263c917b3f16d84c2e5204893422 (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 c7362450c679736ceb82e95fac2e251972f3ea1e
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 e325358..ce86e09 100644
--- a/mpi/ec.c
+++ b/mpi/ec.c
@@ -522,7 +522,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, ctx->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