diff --git a/crypto/hash-speedtest.c b/crypto/hash-speedtest.c index d4c1868a8..422ce9420 100644 --- a/crypto/hash-speedtest.c +++ b/crypto/hash-speedtest.c @@ -279,7 +279,7 @@ int main(int argc, char **argv) { if (argc - optind >= 1) { iterations = atoi(argv[optind]); - if (iterations < 0) + if (iterations < 1) iterations = 1; }