From 5029d58c3862811184d4a75891b3474b2a9512e1 Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Mon, 13 Aug 2018 14:06:00 -0600 Subject: ctest: allow cdash submissions using alternate authentication methods --- Source/CTest/cmCTestSubmitHandler.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/CTest/cmCTestSubmitHandler.cxx b/Source/CTest/cmCTestSubmitHandler.cxx index 4c2b75e..cbed40e 100644 --- a/Source/CTest/cmCTestSubmitHandler.cxx +++ b/Source/CTest/cmCTestSubmitHandler.cxx @@ -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); -- cgit v0.12