25-test_verify.t: Prevent expiration of test case 'Name constraints bad othername name constraint'
@@ -372,7 +372,8 @@ ok(!verify("badalt10-cert", "", ["root-cert"], ["ncca1-cert", "ncca3-cert"], ),
#Check that we get the expected failure return code
with({ exit_checker => sub { return shift == 2; } },
sub {
- ok(verify("bad-othername-namec", "", ["bad-othername-namec-inter"], [], "-partial_chain"),
+ ok(verify("bad-othername-namec", "", ["bad-othername-namec-inter"], [],
+ "-partial_chain", "-attime", "1623060000"),
"Name constraints bad othername name constraint");
});
