We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b3841c commit be40c4dCopy full SHA for be40c4d
src/tests.c
@@ -4919,8 +4919,8 @@ int main(int argc, char **argv) {
4919
} else {
4920
FILE *frand = fopen("/dev/urandom", "r");
4921
if ((frand == NULL) || fread(&seed16, 1, sizeof(seed16), frand) != sizeof(seed16)) {
4922
- fprintf(stderr, "WARNING: could not read 16 bytes from /dev/urandom; falling back to insecure PRNG\n");
4923
uint64_t t = time(NULL) * (uint64_t)1337;
+ fprintf(stderr, "WARNING: could not read 16 bytes from /dev/urandom; falling back to insecure PRNG\n");
4924
seed16[0] ^= t;
4925
seed16[1] ^= t >> 8;
4926
seed16[2] ^= t >> 16;
0 commit comments