Commit 6a073314 authored by Niels Möller's avatar Niels Möller
Browse files

* bignum-next-prime.c (nettle_next_prime): Renamed function, for name

space reasons. Was bignum_next_prime. Updated call in rsa-keygen.c.

Rev: nettle/rsa-keygen.c:1.5
parent 8181009f
...@@ -56,7 +56,7 @@ bignum_random_prime(mpz_t x, unsigned bits, ...@@ -56,7 +56,7 @@ bignum_random_prime(mpz_t x, unsigned bits,
mpz_setbit(x, bits - 1); mpz_setbit(x, bits - 1);
/* Miller-rabin count of 25 is probably much overkill. */ /* Miller-rabin count of 25 is probably much overkill. */
bignum_next_prime(x, x, 25, 10000, progress_ctx, progress); nettle_next_prime(x, x, 25, 10000, progress_ctx, progress);
if (mpz_sizeinbase(x, 2) == bits) if (mpz_sizeinbase(x, 2) == bits)
break; break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment