forked from rpms/openssl
9409bc7044
Signed-off-by: Sahana Prasad <sahana@redhat.com>
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
diff --git a/test/sslapitest.c b/test/sslapitest.c
|
|
index e95d2657f46c..7af0eab3fce0 100644
|
|
--- a/test/sslapitest.c
|
|
+++ b/test/sslapitest.c
|
|
@@ -1158,6 +1158,11 @@ static int execute_test_ktls(int cis_ktls, int sis_ktls,
|
|
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(),
|
|
@@ -1292,6 +1297,11 @@ static int execute_test_ktls_sendfile(int tls_version, const char *cipher)
|
|
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(),
|