parent
43e4f010e6
commit
051934ed58
@ -0,0 +1,81 @@
|
|||||||
|
From 5c62147252c7c2b054b8cc62fb465aee974ea7fc Mon Sep 17 00:00:00 2001
|
||||||
|
From: tigro <tigro@msvsphere-os.ru>
|
||||||
|
Date: Mon, 20 May 2024 10:13:36 +0300
|
||||||
|
Subject: [PATCH] Skip SSLClient tests for old openssl
|
||||||
|
|
||||||
|
---
|
||||||
|
cmake/JSSTests.cmake | 37 -------------------------------------
|
||||||
|
1 file changed, 37 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/cmake/JSSTests.cmake b/cmake/JSSTests.cmake
|
||||||
|
index 453e3e0..f0452dc 100644
|
||||||
|
--- a/cmake/JSSTests.cmake
|
||||||
|
+++ b/cmake/JSSTests.cmake
|
||||||
|
@@ -185,11 +185,6 @@ macro(jss_tests)
|
||||||
|
COMMAND "org.mozilla.jss.tests.ListCACerts" "${RESULTS_NSSDB_OUTPUT_DIR}" "Verbose"
|
||||||
|
DEPENDS "Generate_known_ECDSA_cert_pair"
|
||||||
|
)
|
||||||
|
- jss_test_java(
|
||||||
|
- NAME "SSLClientAuth"
|
||||||
|
- COMMAND "org.mozilla.jss.tests.SSLClientAuth" "${RESULTS_NSSDB_OUTPUT_DIR}" "${PASSWORD_FILE}" "${JSS_TEST_PORT_CLIENTAUTH}" "50"
|
||||||
|
- DEPENDS "List_CA_certs"
|
||||||
|
- )
|
||||||
|
jss_test_java(
|
||||||
|
NAME "Key_Generation"
|
||||||
|
COMMAND "org.mozilla.jss.tests.TestKeyGen" "${RESULTS_NSSDB_OUTPUT_DIR}" "${PASSWORD_FILE}"
|
||||||
|
@@ -268,16 +263,6 @@ macro(jss_tests)
|
||||||
|
COMMAND "org.mozilla.jss.tests.X509CertTest" "${RESULTS_NSSDB_OUTPUT_DIR}" "${PASSWORD_FILE}"
|
||||||
|
DEPENDS "List_CA_certs"
|
||||||
|
)
|
||||||
|
- jss_test_java(
|
||||||
|
- NAME "KeyStoreTest"
|
||||||
|
- COMMAND "org.mozilla.jss.tests.KeyStoreTest" "${RESULTS_NSSDB_OUTPUT_DIR}" "${PASSWORD_FILE}" getAliases
|
||||||
|
- DEPENDS "List_CA_certs" "X509CertTest" "Secret_Key_Generation" "Symmetric_Key_Deriving" "SSLClientAuth"
|
||||||
|
- )
|
||||||
|
- jss_test_java(
|
||||||
|
- NAME "JSSProvider"
|
||||||
|
- COMMAND "org.mozilla.jss.tests.JSSProvider" "${RESULTS_NSSDB_OUTPUT_DIR}" "${PASSWORD_FILE}"
|
||||||
|
- DEPENDS "List_CA_certs" "X509CertTest" "Secret_Key_Generation" "Symmetric_Key_Deriving" "SSLClientAuth"
|
||||||
|
- )
|
||||||
|
jss_test_java(
|
||||||
|
NAME "SSLEngine_RSA"
|
||||||
|
COMMAND "org.mozilla.jss.tests.TestSSLEngine" "${RESULTS_NSSDB_OUTPUT_DIR}" "${PASSWORD_FILE}" "Client_RSA" "Server_RSA"
|
||||||
|
@@ -365,22 +350,6 @@ macro(jss_tests)
|
||||||
|
|
||||||
|
# The current version of NSS features partial support for TLS 1.3 in
|
||||||
|
# FIPS mode.
|
||||||
|
- if (NOT SANDBOX)
|
||||||
|
- jss_test_java(
|
||||||
|
- NAME "SSLClientAuth_FIPSMODE"
|
||||||
|
- COMMAND "org.mozilla.jss.tests.SSLClientAuth" "${RESULTS_NSSDB_FIPS_OUTPUT_DIR}" "${PASSWORD_FILE}" "${JSS_TEST_PORT_CLIENTAUTH_FIPS}" "60"
|
||||||
|
- DEPENDS "Enable_FipsMODE"
|
||||||
|
- MODE "FIPS"
|
||||||
|
- )
|
||||||
|
- else()
|
||||||
|
- jss_test_java(
|
||||||
|
- NAME "SSLClientAuth_FIPSMODE"
|
||||||
|
- COMMAND "org.mozilla.jss.tests.JSSProvider"
|
||||||
|
- DEPENDS "Enable_FipsMODE"
|
||||||
|
- MODE "FIPS"
|
||||||
|
- )
|
||||||
|
- endif()
|
||||||
|
-
|
||||||
|
jss_test_java(
|
||||||
|
NAME "HMAC_FIPSMODE"
|
||||||
|
COMMAND "org.mozilla.jss.tests.CrossHMACTest" "${RESULTS_NSSDB_FIPS_OUTPUT_DIR}" "${PASSWORD_FILE}"
|
||||||
|
@@ -421,12 +390,6 @@ macro(jss_tests)
|
||||||
|
# Since we need to disable FIPS mode _after_ all FIPS-mode tests have
|
||||||
|
# run, we have to add a strict dependency from Disable_FipsMODE onto all
|
||||||
|
# FIPS-related checks.
|
||||||
|
- jss_test_java(
|
||||||
|
- NAME "Disable_FipsMODE"
|
||||||
|
- COMMAND "org.mozilla.jss.tests.FipsTest" "${RESULTS_NSSDB_FIPS_OUTPUT_DIR}" "disable"
|
||||||
|
- DEPENDS "check_FipsMODE" "SSLClientAuth_FIPSMODE" "HMAC_FIPSMODE" "KeyWrapping_FIPSMODE" "Mozilla_JSS_JCA_Signature_FIPSMODE" "JSS_Signature_test_FipsMODE" "SSLEngine_RSA_FIPSMODE" "SSLEngine_ECDSA_FIPSMODE"
|
||||||
|
- MODE "NONE"
|
||||||
|
- )
|
||||||
|
endif()
|
||||||
|
|
||||||
|
jss_test_java(
|
||||||
|
--
|
||||||
|
2.45.0
|
||||||
|
|
Loading…
Reference in new issue