From 35e669fd1a0fb3f8af5e127c7d62d4c2a0ae3503 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sun, 3 Jan 2016 20:47:20 -0600 Subject: whitelist NetBSD 7.0 native arc4random(3) implementation. NetBSD 7 improves arc4random(3) over earlier versions by adding fork detection, stronger assertions on seed failure. --- m4/check-libc.m4 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'm4/check-libc.m4') diff --git a/m4/check-libc.m4 b/m4/check-libc.m4 index 44721a0..4a0debf 100644 --- a/m4/check-libc.m4 +++ b/m4/check-libc.m4 @@ -56,9 +56,7 @@ AM_CONDITIONAL([HAVE_TIMINGSAFE_MEMCMP], [test "x$ac_cv_func_timingsafe_memcmp" # Override arc4random_buf implementations with known issues AM_CONDITIONAL([HAVE_ARC4RANDOM_BUF], - [test "x$HOST_OS" != xdarwin \ - -a "x$HOST_OS" != xfreebsd \ - -a "x$HOST_OS" != xnetbsd \ + [test "x$USE_BUILTIN_ARC4RANDOM" != yes \ -a "x$ac_cv_func_arc4random_buf" = xyes]) # Check for getentropy fallback dependencies -- cgit v1.2.3-55-g6feb