Don't run a legacy specific PKCS12 test if no legacy provider
@@ -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"),
