From 1856e4c18cc1d28aaa45579ce3ca5fae8065a4ae Mon Sep 17 00:00:00 2001 From: Jeremy Andrews Date: Wed, 17 Aug 2022 20:43:57 -0500 Subject: [PATCH] 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... --- ipc/chromium/src/third_party/libevent/arc4random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipc/chromium/src/third_party/libevent/arc4random.c b/ipc/chromium/src/third_party/libevent/arc4random.c index 0dd6934ef8..9efcc6e934 100644 --- a/ipc/chromium/src/third_party/libevent/arc4random.c +++ b/ipc/chromium/src/third_party/libevent/arc4random.c @@ -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) {