From: Tomas Mraz Date: Mon, 25 Nov 2024 09:58:56 +0000 (+0100) Subject: Skip Asymmetric RSA corruption test for >=3.5 FIPS provider X-Git-Tag: openssl-3.3.3~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0021d1f39adc4c0aa1bcb5b352176407956a828;p=thirdparty%2Fopenssl.git Skip Asymmetric RSA corruption test for >=3.5 FIPS provider Reviewed-by: Paul Dale Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/26049) (cherry picked from commit e50d4bac9d9018f09427f4600062a7415c1bdfc8) --- diff --git a/test/recipes/03-test_fipsinstall.t b/test/recipes/03-test_fipsinstall.t index 56a33d76436..0c503c77f84 100644 --- a/test/recipes/03-test_fipsinstall.t +++ b/test/recipes/03-test_fipsinstall.t @@ -291,6 +291,10 @@ SKIP: { SKIP: { skip "Skipping Asymmetric RSA corruption test because of no rsa in this build", 1 if disabled("rsa"); + 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'])),