diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2018-08-13 20:06:00 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2018-08-17 15:18:07 (GMT) |
commit | 5029d58c3862811184d4a75891b3474b2a9512e1 (patch) | |
tree | 118daa1a18cabfd06377bc2b00cdda3fda11680b /Source | |
parent | cd8b094d1dacbff2fa5e520ca167d6f1880310f9 (diff) | |
download | CMake-5029d58c3862811184d4a75891b3474b2a9512e1.zip CMake-5029d58c3862811184d4a75891b3474b2a9512e1.tar.gz CMake-5029d58c3862811184d4a75891b3474b2a9512e1.tar.bz2 |
ctest: allow cdash submissions using alternate authentication methods
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CTest/cmCTestSubmitHandler.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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); |