1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-18 08:51:52 +08:00

ci: curl with Secure Transport on macOS does not support TLS 1.3

curl 8.10 now rejects TLS 1.3 since the Secure Transport backend
does not support it.
This commit is contained in:
Brad King
2024-09-19 10:30:05 -04:00
parent da52e4e571
commit 01dde28dab

View File

@@ -3,10 +3,7 @@ set(CMAKE_USE_SYSTEM_CURL "OFF" CACHE BOOL "")
set(CMake_TEST_TLS_VERIFY_URL "https://gitlab.kitware.com" CACHE STRING "")
set(CMake_TEST_TLS_VERIFY_URL_BAD "https://badtls-expired.kitware.com" CACHE STRING "")
# Test that our vendored curl accepts CURL_SSLVERSION_TLSv1_3. It is passed
# through to Secure Transport, but macOS does not actually enforce it.
set(CMake_TEST_TLS_VERSION "1.3" CACHE STRING "")
set(CMake_TEST_TLS_VERSION "1.2" CACHE STRING "")
include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_common.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake")