diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-15 20:23:56 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-15 20:23:56 +0000 |
| commit | 0855088209c6974705c3c986ca8a5eac54c24c00 (patch) | |
| tree | f4da7213d3a4b4a0e632d353afbeb76ea6783948 | |
| parent | 99b50d74c632f91de42d1fc775a8942cfa94331a (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>
| -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 |
