gnutls-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU gnutls branch, master, updated. gnutls_3_0_9-2-g7daf230


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_3_0_9-2-g7daf230
Date: Fri, 16 Dec 2011 03:59:57 +0000

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 "GNU gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=7daf2300d81dbeeee870299ba3bf7d1ebe3a0d12

The branch, master has been updated
       via  7daf2300d81dbeeee870299ba3bf7d1ebe3a0d12 (commit)
      from  a2c6a106b63a3846358d1e2cd5638504000194ec (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 7daf2300d81dbeeee870299ba3bf7d1ebe3a0d12
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Fri Dec 16 05:02:45 2011 +0100

    correctly set the odd bits.

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

Summary of changes:
 lib/nettle/mpi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/nettle/mpi.c b/lib/nettle/mpi.c
index 0ebdcf4..f1342ec 100644
--- a/lib/nettle/mpi.c
+++ b/lib/nettle/mpi.c
@@ -474,7 +474,7 @@ gen_group (mpz_t * prime, mpz_t * generator, unsigned int 
nbits, unsigned int *q
 
       nettle_mpz_set_str_256_u (w, w_bytes, buffer);
       /* always odd */
-      mpz_setbit (q, 0);
+      mpz_setbit (w, 0);
 
       ret = mpz_probab_prime_p (w, PRIME_CHECK_PARAM);
       if (ret > 0)
@@ -500,7 +500,7 @@ gen_group (mpz_t * prime, mpz_t * generator, unsigned int 
nbits, unsigned int *q
 
       nettle_mpz_set_str_256_u (q, q_bytes, buffer);
       /* always odd */
-      mpz_setbit (w, 0);
+      mpz_setbit (q, 0);
 
       ret = mpz_probab_prime_p (q, PRIME_CHECK_PARAM);
       if (ret == 0)


hooks/post-receive
-- 
GNU gnutls



reply via email to

[Prev in Thread] Current Thread [Next in Thread]