diff options
author | Brad King <brad.king@kitware.com> | 2023-09-13 14:25:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-09-13 14:29:42 (GMT) |
commit | 1bc025285009689d126adb0f591857e147bc0772 (patch) | |
tree | 3d24554678874f4353faa1faa2dd796222457069 /Utilities | |
parent | 8675a6ce400f6e9cba27e96df085d6af3d692843 (diff) | |
download | CMake-1bc025285009689d126adb0f591857e147bc0772.zip CMake-1bc025285009689d126adb0f591857e147bc0772.tar.gz CMake-1bc025285009689d126adb0f591857e147bc0772.tar.bz2 |
curl: Enable HTTP Strict-Transport-Security (HSTS) for build in CMake
Upstream curl enabled this by default starting in curl 7.77. We merged
that version of curl in commit cd40922edb (Merge branch 'upstream-curl'
into update-curl, 2021-05-27, v3.21.0-rc1~120^2~2) but accidentally
switched HSTS off in the build system. Enable it now.
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmcurl/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt index ced5af4..d8f655b 100644 --- a/Utilities/cmcurl/CMakeLists.txt +++ b/Utilities/cmcurl/CMakeLists.txt @@ -25,7 +25,7 @@ set(CURL_DISABLE_FILE OFF CACHE INTERNAL "Disable curl file protocol?") set(CURL_DISABLE_FTP OFF CACHE INTERNAL "Disable curl ftp protocol?") set(CURL_DISABLE_GETOPTIONS OFF) set(CURL_DISABLE_GOPHER ON CACHE INTERNAL "Disable curl gopher protocol?") -set(CURL_DISABLE_HSTS ON) +set(CURL_DISABLE_HSTS OFF) set(CURL_DISABLE_HTTP_AUTH OFF) set(CURL_DISABLE_HTTP OFF CACHE INTERNAL "Disable curl http protocol?") set(CURL_DISABLE_IMAP ON CACHE INTERNAL "Disable curl imap protocol?") |