Skip to content

Commit

Permalink
Skip Asymmetric RSA corruption test for >=3.5 FIPS provider
Browse files Browse the repository at this point in the history
  • Loading branch information
t8m committed Nov 25, 2024
1 parent ba8191c commit 2da1208
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/recipes/03-test_fipsinstall.t
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,10 @@ SKIP: {
SKIP: {
skip "Skipping Asymmetric RSA corruption test because of no rsa in this build", 1
if disabled("rsa") || disabled("fips-post");
run(test(["fips_version_test", "-config", $provconf, "<3.5.0"]),
capture => 1, statusvar => \my $exit);
skip "FIPS provider version is too new for Asymmetric RSA corruption test", 1
if !$exit;
ok(!run(app(['openssl', 'fipsinstall', '-out', 'fips.cnf', '-module', $infile,
'-corrupt_desc', 'RSA_Encrypt',
'-corrupt_type', 'KAT_AsymmetricCipher'])),
Expand Down

0 comments on commit 2da1208

Please sign in to comment.