Blob Blame History Raw
diff -rupN --no-dereference openssl-3.0.9/test/recipes/90-test_sslapi.t openssl-3.0.9-new/test/recipes/90-test_sslapi.t
--- openssl-3.0.9/test/recipes/90-test_sslapi.t	2023-05-30 14:31:57.000000000 +0200
+++ openssl-3.0.9-new/test/recipes/90-test_sslapi.t	2023-05-31 14:33:12.480114854 +0200
@@ -48,7 +48,7 @@ unless ($no_fips) {
                              "recipes",
                              "90-test_sslapi_data",
                              "dhparams.pem")])),
-                 "running sslapitest");
+                 "running sslapitest - FIPS");
 }
 
 unlink $tmpfilename;
diff -rupN --no-dereference openssl-3.0.9/test/sslapitest.c openssl-3.0.9-new/test/sslapitest.c
--- openssl-3.0.9/test/sslapitest.c	2023-05-30 14:31:57.000000000 +0200
+++ openssl-3.0.9-new/test/sslapitest.c	2023-05-31 14:33:12.482114853 +0200
@@ -1172,6 +1172,11 @@ static int execute_test_ktls(int cis_ktl
         goto end;
     }
 
+    if (is_fips && strstr(cipher, "CHACHA") != NULL) {
+        testresult = TEST_skip("CHACHA is not supported in FIPS");
+        goto end;
+    }
+
     /* Create a session based on SHA-256 */
     if (!TEST_true(create_ssl_ctx_pair(libctx, TLS_server_method(),
                                        TLS_client_method(),
@@ -1306,6 +1311,11 @@ static int execute_test_ktls_sendfile(in
         goto end;
     }
 
+    if (is_fips && strstr(cipher, "CHACHA") != NULL) {
+        testresult = TEST_skip("CHACHA is not supported in FIPS");
+        goto end;
+    }
+
     if (is_fips && strstr(cipher, "CHACHA") != NULL) {
         testresult = TEST_skip("CHACHA is not supported in FIPS");
         goto end;