mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-02 04:02:23 +03:00
ctest: allow cdash submissions using alternate authentication methods
This commit is contained in:
1 parent
cd8b094d1d
commit
5029d58c38
1 file changed
+4
@@ -454,6 +454,10 @@ bool cmCTestSubmitHandler::SubmitUsingHTTP(const std::string& localprefix,
|
||||
// specify target
|
||||
::curl_easy_setopt(curl, CURLOPT_URL, upload_as.c_str());
|
||||
|
||||
// CURLAUTH_BASIC is default, and here we allow additional methods,
|
||||
// including more secure ones
|
||||
::curl_easy_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
|
||||
|
||||
// now specify which file to upload
|
||||
::curl_easy_setopt(curl, CURLOPT_INFILE, ftpfile);
|
||||
|
||||
|
||||
Reference in new issue
Block a user