mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 21:59:54 -06:00
Merge branch 'backport-3.17-file-upload-tls' into release-3.17
Merge-request: !4579
This commit is contained in:
@@ -2051,6 +2051,13 @@ bool HandleUploadCommand(std::vector<std::string> const& args,
|
||||
cmFileCommandCurlDebugCallback);
|
||||
check_curl_result(res, "UPLOAD cannot set debug function: ");
|
||||
|
||||
// make sure default CAInfo is set
|
||||
std::string const& cainfo_err = cmCurlSetCAInfo(curl, nullptr);
|
||||
if (!cainfo_err.empty()) {
|
||||
status.SetError(cainfo_err);
|
||||
return false;
|
||||
}
|
||||
|
||||
cmFileCommandVectorOfChar chunkResponse;
|
||||
cmFileCommandVectorOfChar chunkDebug;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user