From a6da25ad0bbbd23d72c0043735af58aa68e59424 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 25 Mar 2026 10:36:50 +0000 Subject: libreboot-utils: remove 1989 rand added as an academic exercise, but pointless in the year 2026. or even the year 1989. Signed-off-by: Leah Rowe --- util/libreboot-utils/include/common.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'util/libreboot-utils/include/common.h') diff --git a/util/libreboot-utils/include/common.h b/util/libreboot-utils/include/common.h index 97bbdf0c..0bab30de 100644 --- a/util/libreboot-utils/include/common.h +++ b/util/libreboot-utils/include/common.h @@ -26,7 +26,7 @@ #endif #if !defined(HAVE_GETRANDOM) #include -#if defined(SYS_getrandom) +#if !defined(SYS_getrandom) #define HAVE_GETRANDOM_SYSCALL 1 #endif #endif @@ -396,18 +396,12 @@ int dcat(const char *s, size_t n, unsigned short hextonum(char ch_s); size_t rlong(void); -#if !(defined(FALLBACK_RAND_1989) && \ - ((FALLBACK_RAND_1989) > 0)) #if defined(__linux__) #if defined(HAVE_GETRANDOM) || \ defined(HAVE_GETRANDOM_SYSCALL) int fallback_rand_getrandom(void *buf, size_t len); #endif #endif -#else -size_t fallback_rand_1989(void); -size_t entropy_jitter(void); -#endif /* Helper functions for command: dump */ -- cgit v1.2.1