diff --git a/crypto/bn/bn_prime.c b/crypto/bn/bn_prime.c index d57f6582110f6c74bec114939fa51ca4cf42a25a..5bab019553bf2ecf3486e46c561c01408520be89 100644 --- a/crypto/bn/bn_prime.c +++ b/crypto/bn/bn_prime.c @@ -378,13 +378,14 @@ static int probable_prime(BIGNUM *rnd, int bits) { int i; BN_ULONG mods[NUMPRIMES]; - BN_ULONG delta,d; + BN_ULONG delta,maxdelta; again: if (!BN_rand(rnd,bits,1,1)) return(0); /* we now have a random number 'rand' to test. */ for (i=1; i maxdelta) goto again; goto loop; } }