mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-19 19:33:38 +08:00
Fix bugs
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user