Don't run a legacy specific PKCS12 test if no legacy provider

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13595)
This commit is contained in:
Matt Caswell 2020-12-02 13:16:33 +00:00
parent 8891a12b5b
commit abec331fd3

View File

@ -92,7 +92,7 @@ ok(run(app(["openssl", "pkcs12", "-export",
SKIP: {
skip "Skipping legacy PKCS#12 test because RC2 is disabled in this build", 1
if disabled("rc2");
if disabled("rc2") || disabled("legacy");
# Test reading legacy PKCS#12 file
ok(run(app(["openssl", "pkcs12", "-export",
"-in", srctop_file(@path, "v3-certs-RC2.p12"),