diff options
author | Brad King <brad.king@kitware.com> | 2024-04-01 13:37:06 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-04-01 13:37:20 (GMT) |
commit | 554a9b00c8728ecda29b86aded0785e0748bb984 (patch) | |
tree | 8a04238e89e9aea7bc0994bbb55143bc9059071b /Help/variable | |
parent | 5ebd5daa93bcb354627c87eb0d9d5ede718b15a8 (diff) | |
parent | 713994426427154100b0f457838dfc671b1d832f (diff) | |
download | CMake-554a9b00c8728ecda29b86aded0785e0748bb984.zip CMake-554a9b00c8728ecda29b86aded0785e0748bb984.tar.gz CMake-554a9b00c8728ecda29b86aded0785e0748bb984.tar.bz2 |
Merge topic 'tls-verify'
7139944264 ctest: Fall back to CMake environment variable for TLS server verification
c295df53c6 ctest: Test fallback to CMake options for TLS server verification
0d250dd021 ExternalProject: Honor CMAKE_TLS_VERIFY environment variable
e8404502b1 ExternalProject: Revise TLS_VERIFY wording to use TLS_VERSION pattern
46faaf9667 file(DOWNLOAD|UPLOAD): Add CMAKE_TLS_VERIFY environment variable
8b0169fe2b file(DOWNLOAD|UPLOAD): Add test covering CMAKE_TLS_VERIFY cmake variable
93886f5c7d file(DOWNLOAD|UPLOAD): Avoid unnecessary CMAKE_TLS_VERIFY variable lookup
bed32f400e file(DOWNLOAD|UPLOAD): Document TLS_VERSION fallback to environment variable
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !9389
Diffstat (limited to 'Help/variable')
-rw-r--r-- | Help/variable/CMAKE_TLS_VERIFY.rst | 4 | ||||
-rw-r--r-- | Help/variable/CTEST_TLS_VERIFY.rst | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/Help/variable/CMAKE_TLS_VERIFY.rst b/Help/variable/CMAKE_TLS_VERIFY.rst index b22f1ce..5871ac7 100644 --- a/Help/variable/CMAKE_TLS_VERIFY.rst +++ b/Help/variable/CMAKE_TLS_VERIFY.rst @@ -3,7 +3,9 @@ CMAKE_TLS_VERIFY Specify the default value for the :command:`file(DOWNLOAD)` and :command:`file(UPLOAD)` commands' ``TLS_VERIFY`` options. -If not set, the default is *off*. +If this variable is not set, the commands check the +:envvar:`CMAKE_TLS_VERIFY` environment variable. +If neither is set, the default is *off*. This variable is also used by the :module:`ExternalProject` and :module:`FetchContent` modules for internal calls to :command:`file(DOWNLOAD)`. diff --git a/Help/variable/CTEST_TLS_VERIFY.rst b/Help/variable/CTEST_TLS_VERIFY.rst index bce4969..9b3d96c 100644 --- a/Help/variable/CTEST_TLS_VERIFY.rst +++ b/Help/variable/CTEST_TLS_VERIFY.rst @@ -9,5 +9,5 @@ before including the :module:`CTest` module. The value is a boolean indicating whether to verify the server certificate when submitting to a dashboard via ``https://`` URLs. -If ``CTEST_TLS_VERIFY`` is not set, :variable:`CMAKE_TLS_VERIFY` is -used instead. +If ``CTEST_TLS_VERIFY`` is not set, the :variable:`CMAKE_TLS_VERIFY` variable +or :envvar:`CMAKE_TLS_VERIFY` environment variable is used instead. |