tests: Treat empty SECP2561_TEST_ITERS as if it was unset
This commit is contained in:
parent
fcfcb97e74
commit
489ff5c20a
@ -6471,7 +6471,7 @@ int main(int argc, char **argv) {
|
|||||||
count = strtol(argv[1], NULL, 0);
|
count = strtol(argv[1], NULL, 0);
|
||||||
} else {
|
} else {
|
||||||
const char* env = getenv("SECP256K1_TEST_ITERS");
|
const char* env = getenv("SECP256K1_TEST_ITERS");
|
||||||
if (env) {
|
if (env && strlen(env) > 0) {
|
||||||
count = strtol(env, NULL, 0);
|
count = strtol(env, NULL, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user