CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2022/06/18 09:52:35

Modified files:
        lib/libcrypto/bn: bn_prime.c 

Log message:
Fix prime recognition when doing trial divisions

If gcd(a, primes[i]) == 0 then a could still be a prime, namely in the
case that a == primes[i], so check for that case as well.

Problem noted by Martin Grenouilloux

ok jsing

Reply via email to