mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
25-test_verify.t: Prevent expiration of test case 'Name constraints bad othername name constraint'
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15656)
This commit is contained in:
parent
d63053bbdf
commit
65a97b2c38
@ -371,10 +371,11 @@ 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"),
|
||||
"Name constraints bad othername name constraint");
|
||||
});
|
||||
sub {
|
||||
ok(verify("bad-othername-namec", "", ["bad-othername-namec-inter"], [],
|
||||
"-partial_chain", "-attime", "1623060000"),
|
||||
"Name constraints bad othername name constraint");
|
||||
});
|
||||
|
||||
ok(verify("ee-pss-sha1-cert", "", ["root-cert"], ["ca-cert"], "-auth_level", "0"),
|
||||
"Accept PSS signature using SHA1 at auth level 0");
|
||||
|
Loading…
Reference in New Issue
Block a user