diff options
author | Brad King <brad.king@kitware.com> | 2024-02-29 19:25:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-03-12 14:46:23 (GMT) |
commit | 6671f17f65a2d4907f1b598dc2823209714f7ac2 (patch) | |
tree | 401ca234e27b3d680e385a79e6e976aafe248ce0 /Help | |
parent | 0aba13a2f3169687943d4b7d0f05ed65e46ca137 (diff) | |
download | CMake-6671f17f65a2d4907f1b598dc2823209714f7ac2.zip CMake-6671f17f65a2d4907f1b598dc2823209714f7ac2.tar.gz CMake-6671f17f65a2d4907f1b598dc2823209714f7ac2.tar.bz2 |
ctest: Add explicit options for TLS version
Add a dedicated `TLSVersion` ctest option and a `CTEST_TLS_VERSION`
variable to control it.
Issue: #25701
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake-variables.7.rst | 1 | ||||
-rw-r--r-- | Help/manual/ctest.1.rst | 9 | ||||
-rw-r--r-- | Help/release/dev/curl-tls-version.rst | 5 | ||||
-rw-r--r-- | Help/variable/CTEST_TLS_VERSION.rst | 13 |
4 files changed, 26 insertions, 2 deletions
diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst index 7728cb4..4bb0ec8 100644 --- a/Help/manual/cmake-variables.7.rst +++ b/Help/manual/cmake-variables.7.rst @@ -729,6 +729,7 @@ Variables for CTest /variable/CTEST_TEST_LOAD /variable/CTEST_TEST_TIMEOUT /variable/CTEST_TLS_VERIFY + /variable/CTEST_TLS_VERSION /variable/CTEST_UPDATE_COMMAND /variable/CTEST_UPDATE_OPTIONS /variable/CTEST_UPDATE_VERSION_ONLY diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst index 45ff6da..c9ab31e 100644 --- a/Help/manual/ctest.1.rst +++ b/Help/manual/ctest.1.rst @@ -1551,6 +1551,15 @@ Configuration settings include: * `CTest Script`_ variable: :variable:`CTEST_SUBMIT_INACTIVITY_TIMEOUT` * :module:`CTest` module variable: ``CTEST_SUBMIT_INACTIVITY_TIMEOUT`` +``TLSVersion`` + .. versionadded:: 3.30 + + Specify a minimum TLS version allowed when submitting to a dashboard + via ``https://`` URLs. + + * `CTest Script`_ variable: :variable:`CTEST_TLS_VERSION` + * :module:`CTest` module variable: ``CTEST_TLS_VERSION`` + ``TLSVerify`` .. versionadded:: 3.30 diff --git a/Help/release/dev/curl-tls-version.rst b/Help/release/dev/curl-tls-version.rst index 6adf189..636fa3c 100644 --- a/Help/release/dev/curl-tls-version.rst +++ b/Help/release/dev/curl-tls-version.rst @@ -17,5 +17,6 @@ curl-tls-version to ``https://`` URLs. * The :command:`ctest_submit` command and :option:`ctest -T Submit <ctest -T>` - step gained a ``TLSVerify`` option to control negotiation with - ``https://`` URLs. See the :variable:`CTEST_TLS_VERIFY` variable. + step gained ``TLSVersion`` and ``TLSVerify`` options to control negotiation + with ``https://`` URLs. See the :variable:`CTEST_TLS_VERSION` and + :variable:`CTEST_TLS_VERIFY` variables. diff --git a/Help/variable/CTEST_TLS_VERSION.rst b/Help/variable/CTEST_TLS_VERSION.rst new file mode 100644 index 0000000..c19d2a4 --- /dev/null +++ b/Help/variable/CTEST_TLS_VERSION.rst @@ -0,0 +1,13 @@ +CTEST_TLS_VERSION +----------------- + +.. versionadded:: 3.30 + +Specify the CTest ``TLSVersion`` setting in a :manual:`ctest(1)` +:ref:`Dashboard Client` script or in project ``CMakeLists.txt`` code +before including the :module:`CTest` module. The value is a minimum +TLS version allowed when submitting to a dashboard via ``https://`` URLs. + +The value may be one of: + +.. include:: CMAKE_TLS_VERSION-VALUES.txt |