Fix no-dsa in combination with no-err

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21722)
This commit is contained in:
Matt Caswell 2023-08-11 09:42:36 +01:00 committed by Tomas Mraz
parent fb32f6ea42
commit 4efd84fdd6

View File

@ -187,7 +187,8 @@ sub test_errors { # actually tests diagnostics of OSSL_STORE
}
SKIP: {
skip "DSA not disabled", 2 if !disabled("dsa");
skip "DSA not disabled or ERR disabled", 2
if !disabled("dsa") || disabled("err");
ok(test_errors(key => 'server-dsa-key.pem',
out => 'server-dsa-key.err'),