Fix the getentropy test on systems with a new libc and old kernel.

This commit is contained in:
Sadie Powell 2024-07-13 22:33:15 +01:00
parent 8a0f6f3815
commit 821fccabcc

View File

@ -21,6 +21,5 @@
int main() {
char buffer[100];
getentropy(buffer, sizeof(buffer));
return 0;
return getentropy(buffer, sizeof(buffer)) == 0;
}