From: slontis Date: Wed, 21 Aug 2024 23:09:14 +0000 (+1000) Subject: FIPS: Change fips tests to use SHA2 for corruption test. X-Git-Tag: openssl-3.4.0-alpha1~60 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06179b4be0e5617455924f02830a43b85d154c1a;p=thirdparty%2Fopenssl.git FIPS: Change fips tests to use SHA2 for corruption test. Fixes cross testing with OpenSSL 3.4 with removed SHA1 from the self tests. Reviewed-by: Paul Dale Reviewed-by: Tom Cosgrove Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/25262) --- diff --git a/test/recipes/03-test_fipsinstall.t b/test/recipes/03-test_fipsinstall.t index 905bb7bfe37..4dc7da0768a 100644 --- a/test/recipes/03-test_fipsinstall.t +++ b/test/recipes/03-test_fipsinstall.t @@ -246,7 +246,7 @@ SKIP: { '-module', $infile, '-provider_name', 'fips', '-mac_name', 'HMAC', '-macopt', 'digest:SHA256', '-macopt', "hexkey:$fipskey", - '-section_name', 'fips_sect', '-corrupt_desc', 'SHA1'])), + '-section_name', 'fips_sect', '-corrupt_desc', 'SHA2'])), "fipsinstall fails when the digest result is corrupted"); # corrupt another digest