Skip to content

Commit

Permalink
Fix test failed, remove rc2 test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
dongbeiouba committed Mar 15, 2024
1 parent 4b2fa06 commit 2453db2
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions test/recipes/80-test_pkcs12.t
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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";
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 2453db2

Please sign in to comment.