whirlpool_test: avoid calling arc4random_uniform(0)
authortb <tb@openbsd.org>
Tue, 9 Apr 2024 18:12:11 +0000 (18:12 +0000)
committertb <tb@openbsd.org>
Tue, 9 Apr 2024 18:12:11 +0000 (18:12 +0000)
commit1e30b36946b45e76ba99564ca48a6b246c528dd8
treecd38e9907d71d0e324705a9df2bf253e5361bfbc
parent2fadeadbde35e9ecc76087b8deef7694a9be0551
whirlpool_test: avoid calling arc4random_uniform(0)

This causes a SIGFPE on solaris
Fixes https://github.com/libressl/portable/issues/1042
regress/lib/libcrypto/whirlpool/whirlpool_test.c