1
0
Fork 0

entropy: Port to OpenBSD

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

1
README
View file

@ -61,4 +61,3 @@ Porting to OpenBSD is the current goal before thinking about a release.
The following functions are not portable at the moment: The following functions are not portable at the moment:
- wifi_{perc,essid} - wifi_{perc,essid}
- entropy

View file

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