Răsfoiți Sursa

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.
Brad King 2 ani în urmă
părinte
comite
1bc0252850
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Utilities/cmcurl/CMakeLists.txt

+ 1 - 1
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?")