ctest: allow cdash submissions using alternate authentication methods

This commit is contained in:
Clinton Stimpson committed 2018-08-17 09:18:07 -06:00
1 parent cd8b094d1d
commit 5029d58c38
1 file changed
+4
+4
View File
@@ -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);