This commit is contained in:
Zhi Guan
2026-06-17 16:07:18 +08:00
parent ea35a8cea3
commit f38142d35e
4 changed files with 8 additions and 2 deletions

View File

@@ -92,6 +92,7 @@ bad:
}
#else
fprintf(stderr, "%s: `-rdrand` is not supported on your platform\n", prog);
goto end;
#endif
} else if (rdseed) {
#ifdef ENABLE_INTEL_RDSEED
@@ -101,6 +102,7 @@ bad:
}
#else
fprintf(stderr, "%s: `-rdseed` is not supported on your platform\n", prog);
goto end;
#endif
} else {
if (rand_bytes(buf, len) != 1) {