mirror of
https://github.com/sheumann/65816-crypto.git
synced 2024-11-21 16:31:11 +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;
|
||||
int i, n;
|
||||
|
||||
#ifdef RANDOMIZE_READ_SIZE
|
||||
srand(time(NULL));
|
||||
#endif
|
||||
|
||||
if (argc < 2) {
|
||||
fprintf(stderr, "Usage: %s filename ...\n", argv[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user