summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-02-26 16:35:46 (GMT)
committerBrad King <brad.king@kitware.com>2024-02-28 13:40:14 (GMT)
commit8e6776b9f3f17aa234e38ead7047f64c539cda1c (patch)
treefd042479f1d3fdbcb59fb6e701675a56a5c0674d /Help
parent9d1f831818fe34891be691837dfde2352cf5b6bd (diff)
downloadCMake-8e6776b9f3f17aa234e38ead7047f64c539cda1c.zip
CMake-8e6776b9f3f17aa234e38ead7047f64c539cda1c.tar.gz
CMake-8e6776b9f3f17aa234e38ead7047f64c539cda1c.tar.bz2
file(DOWNLOAD|UPLOAD): Add TLS_VERSION option for https connections
Add an option to specify the minimum allowed TLS version for https connections. Issue: #25701
Diffstat (limited to 'Help')
-rw-r--r--Help/command/file.rst5
-rw-r--r--Help/release/dev/curl-tls-version.rst6
2 files changed, 11 insertions, 0 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst
index 4acdc7e..dfbd483 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -1097,6 +1097,11 @@ Transfer
is not specified, the value of the :variable:`CMAKE_NETRC_FILE` variable
will be used instead.
+ ``TLS_VERSION <min>``
+ .. versionadded:: 3.30
+
+ Specify minimum TLS version for ``https://`` URLs.
+
``TLS_VERIFY <ON|OFF>``
Specify whether to verify the server certificate for ``https://`` URLs.
The default is to *not* verify. If this option is not specified, the
diff --git a/Help/release/dev/curl-tls-version.rst b/Help/release/dev/curl-tls-version.rst
new file mode 100644
index 0000000..1896f45
--- /dev/null
+++ b/Help/release/dev/curl-tls-version.rst
@@ -0,0 +1,6 @@
+curl-tls-version
+----------------
+
+* The :command:`file(DOWNLOAD)` and :command:`file(UPLOAD)` commands
+ gained a ``TLS_VERSION <min>`` option to specify the minimum TLS
+ version for connections to ``https://`` URLs.