fix some integer overflows in sieve_large() that show up when trying
authordjm <djm@openbsd.org>
Sun, 1 May 2022 23:20:30 +0000 (23:20 +0000)
committerdjm <djm@openbsd.org>
Sun, 1 May 2022 23:20:30 +0000 (23:20 +0000)
commitac12145371f84364474bcbdc3c57b4660538142c
tree14a4ec608f7e2628e1551eb9f64931c408f74853
parente8d4d65d1eee3b81abfe4e49da23675e33468e5b
fix some integer overflows in sieve_large() that show up when trying
to generate modp groups > 16k bits. Reported via GHPR#306 by
Bertram Felgenhauer, but fixed in a different way. feedback/ok tb@
usr.bin/ssh/moduli.c