mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
Fix test_cms if DSA is not supported
CLA: trivial Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22150)
This commit is contained in:
parent
5fbfd641ae
commit
dee2129802
@ -1144,9 +1144,13 @@ with({ exit_checker => sub { return shift == 6; } },
|
||||
# Test case for return value mis-check reported in #21986
|
||||
with({ exit_checker => sub { return shift == 3; } },
|
||||
sub {
|
||||
ok(run(app(['openssl', 'cms', '-sign',
|
||||
'-in', srctop_file("test", "smcont.txt"),
|
||||
'-signer', srctop_file("test/smime-certs", "smdsa1.pem"),
|
||||
'-md', 'SHAKE256'])),
|
||||
"issue#21986");
|
||||
SKIP: {
|
||||
skip "DSA is not supported in this build", 1 if $no_dsa;
|
||||
|
||||
ok(run(app(['openssl', 'cms', '-sign',
|
||||
'-in', srctop_file("test", "smcont.txt"),
|
||||
'-signer', srctop_file("test/smime-certs", "smdsa1.pem"),
|
||||
'-md', 'SHAKE256'])),
|
||||
"issue#21986");
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user