aboutsummaryrefslogtreecommitdiff
path: root/m4/check-libc.m4
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2016-01-03 20:47:20 -0600
committerBrent Cook <bcook@openbsd.org>2016-01-03 21:24:05 -0600
commit35e669fd1a0fb3f8af5e127c7d62d4c2a0ae3503 (patch)
tree6478b7028d7affe76bc4d3fea5945723c5de233e /m4/check-libc.m4
parentd0009039dec393dfa65dfebb2e5f41288ac185cc (diff)
downloadportable-35e669fd1a0fb3f8af5e127c7d62d4c2a0ae3503.tar.gz
portable-35e669fd1a0fb3f8af5e127c7d62d4c2a0ae3503.tar.bz2
portable-35e669fd1a0fb3f8af5e127c7d62d4c2a0ae3503.zip
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.
Diffstat (limited to 'm4/check-libc.m4')
-rw-r--r--m4/check-libc.m44
1 files changed, 1 insertions, 3 deletions
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"
56 56
57# Override arc4random_buf implementations with known issues 57# Override arc4random_buf implementations with known issues
58AM_CONDITIONAL([HAVE_ARC4RANDOM_BUF], 58AM_CONDITIONAL([HAVE_ARC4RANDOM_BUF],
59 [test "x$HOST_OS" != xdarwin \ 59 [test "x$USE_BUILTIN_ARC4RANDOM" != yes \
60 -a "x$HOST_OS" != xfreebsd \
61 -a "x$HOST_OS" != xnetbsd \
62 -a "x$ac_cv_func_arc4random_buf" = xyes]) 60 -a "x$ac_cv_func_arc4random_buf" = xyes])
63 61
64# Check for getentropy fallback dependencies 62# Check for getentropy fallback dependencies