don't leave HAVE_GETENTROPY undefined

This commit is contained in:
Omar Polo 2023-08-23 20:31:02 +00:00
parent 618b1d4dce
commit ae32f1aa8e
1 changed files with 3 additions and 0 deletions

3
configure vendored
View File

@ -315,6 +315,9 @@ fi
if [ ${HAVE_ARC4RANDOM} -eq 0 ]; then
runtest getentropy GETENTROPY || true
else
# fake it
HAVE_GETENTROPY=1
fi
if [ ${HAVE_ARC4RANDOM} -eq 0 -a ${HAVE_GETENTROPY} -eq 1 ]; then