diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-15 20:23:56 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-26 06:59:41 +0000 |
| commit | b4b194f94cd529fe558cd8ff87a190cb80b97e7d (patch) | |
| tree | 858e9e21c46d39a9b20b8815c7a36a71260fcccc /util | |
| parent | 5d8b19fb75329e264f42648467f75a1185364d92 (diff) | |
util/nvmutil: remove arc4random on linux
linux only had it since 2022.
lots of people will complain if i leave this enabled.
not all libc have it either
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
| -rw-r--r-- | util/nvmutil/nvmutil.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index eefd8cb8..4eb013be 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -44,8 +44,7 @@ * at build time if you need old Linux / other libc. */ #if defined(__OpenBSD__) || defined(__FreeBSD__) || \ - defined(__NetBSD__) || defined(__APPLE__) || \ - defined(__linux__) + defined(__NetBSD__) || defined(__APPLE__) #ifndef HAVE_ARC4RANDOM_BUF #define HAVE_ARC4RANDOM_BUF 1 #endif |
