mirror of
https://github.com/sheumann/65816-crypto.git
synced 2024-11-22 07:31:58 +00:00
Don't call srand unless we're actually randomizing read sizes.
This commit is contained in:
parent
e288a7bc83
commit
8050c05a7a
@ -36,7 +36,9 @@ int main(int argc, char **argv) {
|
|||||||
size_t count;
|
size_t count;
|
||||||
int i, n;
|
int i, n;
|
||||||
|
|
||||||
|
#ifdef RANDOMIZE_READ_SIZE
|
||||||
srand(time(NULL));
|
srand(time(NULL));
|
||||||
|
#endif
|
||||||
|
|
||||||
if (argc < 2) {
|
if (argc < 2) {
|
||||||
fprintf(stderr, "Usage: %s filename ...\n", argv[0]);
|
fprintf(stderr, "Usage: %s filename ...\n", argv[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user