diff options
author | Aaron Marcher <me@drkhsh.at> | 2018-05-06 22:54:32 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2018-05-06 22:54:32 +0200 |
commit | 76c8152d44ea96cbd31426491537f075123af9c2 (patch) | |
tree | 30db27471db8515ac6b27047ed53a9565164c9d6 /components | |
parent | 36c37e3deb148e619b3efe1848e56f4bd8d44dca (diff) |
entropy: Port to OpenBSD
OpenBSD's entropy design is superior to Linux.
Diffstat (limited to 'components')
-rw-r--r-- | components/entropy.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/components/entropy.c b/components/entropy.c index 2baa8aa..1450b31 100644 --- a/components/entropy.c +++ b/components/entropy.c @@ -14,5 +14,9 @@ bprintf("%d", num) : NULL; } #elif defined(__OpenBSD__) - /* unimplemented */ + const char * + entropy(void) + { + return "∞"; + } #endif |