]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
fipsinstall: update tests to use corrent key gen test name
authorPauli <ppzgs1@gmail.com>
Fri, 21 Feb 2025 01:21:48 +0000 (12:21 +1100)
committerViktor Dukhovni <openssl-users@dukhovni.org>
Sat, 22 Feb 2025 06:31:43 +0000 (17:31 +1100)
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26859)

test/recipes/03-test_fipsinstall.t

index 1e6eabe97697d357aed445c79f74a7b2df749cc5..0ebd4536b96d348fc264cef480858784dbf396e9 100644 (file)
@@ -363,8 +363,8 @@ SKIP: {
                 '-provider_name', 'fips', '-mac_name', 'HMAC',
                 '-macopt', 'digest:SHA256', '-macopt', "hexkey:$fipskey",
                 '-section_name', 'fips_sect',
-                '-corrupt_desc', 'KEM_Keygen',
-                '-corrupt_type', 'KAT_KEM'])),
+                '-corrupt_desc', 'ML-KEM',
+                '-corrupt_type', 'KAT_AsymmetricKeyGeneration'])),
        "fipsinstall fails when the ML-KEM key generation result is corrupted");
 
     ok(!run(app(['openssl', 'fipsinstall', '-out', 'fips.cnf', '-module', $infile,