From: Christian Grothoff Date: Wed, 12 May 2010 06:46:44 +0000 (+0000) Subject: 1 X-Git-Tag: initial-import-from-subversion-38251~21733 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b629067024cb61dfd2a505af3234cd9a99b0cc0a;p=oweals%2Fgnunet.git 1 --- diff --git a/src/util/crypto_ksk.c b/src/util/crypto_ksk.c index fd5392840..26adbcda0 100644 --- a/src/util/crypto_ksk.c +++ b/src/util/crypto_ksk.c @@ -227,7 +227,7 @@ is_prime (mpz_t n, int steps, GNUNET_HashCode * hc) /* Find q and k, so that n = 1 + 2^k * q . */ mpz_init_set (q, nminus1); - k = mpz_scan0 (q, 0); + k = mpz_scan1 (q, 0); mpz_tdiv_q_2exp (q, q, k); for (i = 0; i < steps; i++)