mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 04:19:17 -04:00
Security: https://vuxml.freebsd.org/freebsd/e195e915-2a43-11f0-8cb5-a8a1599412c6.html PR: 286547
11 lines
305 B
C++
11 lines
305 B
C++
--- base/rand_util.h.orig 2025-05-05 10:57:53 UTC
|
|
+++ base/rand_util.h
|
|
@@ -213,7 +213,7 @@ void RandomShuffle(Itr first, Itr last) {
|
|
std::shuffle(first, last, RandomBitGenerator());
|
|
}
|
|
|
|
-#if BUILDFLAG(IS_POSIX)
|
|
+#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_BSD)
|
|
BASE_EXPORT int GetUrandomFD();
|
|
#endif
|
|
|