CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2025/11/06 02:04:14

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

Log message:
Use BN_ULONG in probable_prime_dh()

This was the last user of BN_LONG in code. It had no reason to do so.
BN_mod_word() returns a BN_ULONG and since the largest prime in the
small primes table primes[] is well below 20000, the only return value
that could cause 'mod' to be negative was the error sentinel (BN_ULONG)-1.

ok jsing kenjiro

Reply via email to