diff options
author | Brad King <brad.king@kitware.com> | 2018-08-24 17:24:10 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-08-24 17:32:13 (GMT) |
commit | 6a8b65c04237ff2dfe004dc1ce29b725666f2758 (patch) | |
tree | f3ca54904f07e3307328060f0df18e8d89fc9548 | |
parent | e33c6c357b61ed0cc5b9f7c01e4ea04deca26b39 (diff) | |
parent | 5029d58c3862811184d4a75891b3474b2a9512e1 (diff) | |
download | CMake-6a8b65c04237ff2dfe004dc1ce29b725666f2758.zip CMake-6a8b65c04237ff2dfe004dc1ce29b725666f2758.tar.gz CMake-6a8b65c04237ff2dfe004dc1ce29b725666f2758.tar.bz2 |
Merge topic 'ctest-submit-httpauth'
5029d58c38 ctest: allow cdash submissions using alternate authentication methods
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2288
-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); |