test: fix failure with FIPS and no-des configured.
authorPauli <pauli@openssl.org>
Sat, 1 May 2021 03:38:34 +0000 (13:38 +1000)
committerPauli <pauli@openssl.org>
Tue, 4 May 2021 10:39:28 +0000 (20:39 +1000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15105)

test/recipes/80-test_pkcs12.t

index b259c1a33548201f02a0cc37d11fdd3c8e2b6898..12189da3a30bc9ec60fc8e5774a580bf5887325a 100644 (file)
@@ -96,8 +96,8 @@ SKIP: {
 }
 
 SKIP: {
-    skip "Skipping legacy PKCS#12 test because RC2 is disabled in this build", 1
-        if disabled("rc2") || disabled("legacy");
+    skip "Skipping legacy PKCS#12 test because the required algorithms are disabled", 1
+        if disabled("des") || disabled("rc2") || disabled("legacy");
     # Test reading legacy PKCS#12 file
     ok(run(app(["openssl", "pkcs12", "-export",
                 "-in", srctop_file(@path, "v3-certs-RC2.p12"),