diff options
Diffstat (limited to 'test/getentropy_test.c')
-rw-r--r-- | test/getentropy_test.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/getentropy_test.c b/test/getentropy_test.c deleted file mode 100644 index a3d02e6..0000000 --- a/test/getentropy_test.c +++ /dev/null @@ -1,14 +0,0 @@ -#include <unistd.h> -#include <stdio.h> - -int main() { - unsigned char buf[16]; - if (getentropy(buf, sizeof(buf))) { - perror("failed to getentropy()"); - return 1; - } - for (size_t i = 0; i < sizeof(buf); i++) - printf("%02x", buf[i]); - printf("\n"); - return 0; -} |