Issue #1988 - Use libc's arc4random where available.

Configure was defining HAVE_ARC4RANDOM_BUF on systems that have it this whole
time, so the OS specific ifdefs weren't necessary. Maybe the flag that was in
the original patch was an obsolete name for that flag...
This commit is contained in:
Jeremy Andrews 2022-08-17 20:43:57 -05:00 committed by roytam1
commit 1856e4c18c

View file

@ -481,7 +481,7 @@ arc4random(void)
}
#endif
#if defined(_we_have_arc4random_buf) || !defined(XP_SOLARIS)
#ifndef HAVE_ARC4RANDOM_BUF
ARC4RANDOM_EXPORT void
arc4random_buf(void *_buf, size_t n)
{