diff options
| author | tb <> | 2025-11-06 09:04:14 +0000 |
|---|---|---|
| committer | tb <> | 2025-11-06 09:04:14 +0000 |
| commit | 6ed58e3a351fdb740941af76336021fa436f2fda (patch) | |
| tree | 5e90db9eb77871054518e24571ae9557ec5b60b0 /src/regress/lib/libc/stdio_threading/fread/fread_test.c | |
| parent | cfaf7540f6b19032df0f388ad6a4d0e0714671c6 (diff) | |
| download | openbsd-6ed58e3a351fdb740941af76336021fa436f2fda.tar.gz openbsd-6ed58e3a351fdb740941af76336021fa436f2fda.tar.bz2 openbsd-6ed58e3a351fdb740941af76336021fa436f2fda.zip | |
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
Diffstat (limited to 'src/regress/lib/libc/stdio_threading/fread/fread_test.c')
0 files changed, 0 insertions, 0 deletions
