entropy: Port to OpenBSD

OpenBSD's entropy design is superior to Linux.
This commit is contained in:
Aaron Marcher committed 2018-05-06 22:54:32 +02:00
1 parent 62563a5a0d
commit fd14804d6f
2 files changed
+5 -2

No files matched your search

+5 -1
View File
@@ -14,5 +14,9 @@
bprintf("%d", num) : NULL;
}
#elif defined(__OpenBSD__)
/* unimplemented */
const char *
entropy(void)
{
return "∞";
}
#endif