mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-15 03:48:02 +08:00
Merge topic 'macos-curl-backend'
f2596dfa0e
macOS: Work around bug in system curl 8.{3,4,5} LibreSSL backend
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !9663
This commit is contained in:
@@ -2166,6 +2166,7 @@ bool HandleDownloadCommand(std::vector<std::string> const& args,
|
||||
url = cmCurlFixFileURL(url);
|
||||
|
||||
::CURL* curl;
|
||||
cmCurlInitOnce();
|
||||
::curl_global_init(CURL_GLOBAL_DEFAULT);
|
||||
curl = ::curl_easy_init();
|
||||
if (!curl) {
|
||||
@@ -2539,6 +2540,7 @@ bool HandleUploadCommand(std::vector<std::string> const& args,
|
||||
url = cmCurlFixFileURL(url);
|
||||
|
||||
::CURL* curl;
|
||||
cmCurlInitOnce();
|
||||
::curl_global_init(CURL_GLOBAL_DEFAULT);
|
||||
curl = ::curl_easy_init();
|
||||
if (!curl) {
|
||||
|
Reference in New Issue
Block a user