entropy: Port to OpenBSD OpenBSD's entropy design is superior to Linux.
Aaron Marcher me@drkhsh.at
Sun, 06 May 2018 22:54:32 +0200
2 files changed,
5 insertions(+),
2 deletions(-)
M
components/entropy.c
→
components/entropy.c
@@ -14,5 +14,9 @@ "%d", &num) == 1) ?
bprintf("%d", num) : NULL; } #elif defined(__OpenBSD__) - /* unimplemented */ + const char * + entropy(void) + { + return "∞"; + } #endif