Skip to content

Commit 489ff5c

Browse files
tests: Treat empty SECP2561_TEST_ITERS as if it was unset
1 parent fcfcb97 commit 489ff5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6471,7 +6471,7 @@ int main(int argc, char **argv) {
64716471
count = strtol(argv[1], NULL, 0);
64726472
} else {
64736473
const char* env = getenv("SECP256K1_TEST_ITERS");
6474-
if (env) {
6474+
if (env && strlen(env) > 0) {
64756475
count = strtol(env, NULL, 0);
64766476
}
64776477
}

0 commit comments

Comments
 (0)