From ae26cb70bf1445442a013dfcddb162197825b458 Mon Sep 17 00:00:00 2001 From: K1 Date: Fri, 8 Mar 2024 19:37:19 +0800 Subject: [PATCH] Fix test failed, remove rc2 test cases --- test/recipes/80-test_pkcs12.t | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/test/recipes/80-test_pkcs12.t b/test/recipes/80-test_pkcs12.t index fe8d43fd2..f95e69488 100644 --- a/test/recipes/80-test_pkcs12.t +++ b/test/recipes/80-test_pkcs12.t @@ -54,7 +54,7 @@ if (eval { require Win32::API; 1; }) { } $ENV{OPENSSL_WIN32_UTF8}=1; -plan tests => 28; +plan tests => 26; # Test different PKCS#12 formats ok(run(test(["pkcs12_format_test"])), "test pkcs12 formats"); @@ -72,7 +72,6 @@ ok(run(app(["openssl", "pkcs12", "-noout", my @path = qw(test certs); my $outfile1 = "out1.p12"; my $outfile2 = "out2.p12"; -my $outfile3 = "out3.p12"; my $outfile4 = "out4.p12"; my $outfile5 = "out5.p12"; my $outfile6 = "out6.p12"; @@ -205,16 +204,6 @@ SKIP: { ])), "Test pkcs12_parse()"); } -SKIP: { - skip "Skipping PKCS#12 parse test because the required algorithms are disabled", 1 - if disabled("des") || disabled("rc2") || disabled("legacy"); - ok(run(test(["pkcs12_api_test", - "-in", $outfile3, - "-pass", "v3-certs", - "-has-ca", 1, - ])), "Test pkcs12_parse()"); -} - ok(run(test(["pkcs12_api_test", "-in", $outfile4, "-pass", "v3-certs",