diff options
author | Brent Cook <bcook@openbsd.org> | 2016-01-03 20:47:20 -0600 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2016-01-03 21:24:05 -0600 |
commit | 35e669fd1a0fb3f8af5e127c7d62d4c2a0ae3503 (patch) | |
tree | 6478b7028d7affe76bc4d3fea5945723c5de233e /m4/check-libc.m4 | |
parent | d0009039dec393dfa65dfebb2e5f41288ac185cc (diff) | |
download | portable-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.m4 | 4 |
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 |
58 | AM_CONDITIONAL([HAVE_ARC4RANDOM_BUF], | 58 | AM_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 |