summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Andrews <athenian200@outlook.com>2022-08-17 20:43:57 -0500
committerJeremy Andrews <athenian200@outlook.com>2022-08-17 20:43:57 -0500
commit544366e3010ea16601ff363a2f41df5f84f77d47 (patch)
treedb81372d4ee1596023c831fa9dc2f0c33861e8d3
parent50bd3acb5b664fab9a78e5cf160ad92cdb577a6e (diff)
downloaduxp-544366e3010ea16601ff363a2f41df5f84f77d47.tar.gz
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...
-rw-r--r--ipc/chromium/src/third_party/libevent/arc4random.c2
1 files changed, 1 insertions, 1 deletions
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)
{