Commit 4464ef21 authored by Zack Galbreath's avatar Zack Galbreath Committed by Brad King
Browse files

ctest_submit: Check CA file during CDASH_UPLOAD

This fixes a bug where ctest(SUBMIT CDASH_UPLOAD ...) would fail when
attemping to submit to a site bearing a genuine SSL certificate.
This code path was missing a call to cmCurlSetCAInfo() which loads
the certificate authority file.
parent ef5e2e8a
......@@ -3,6 +3,7 @@
#include "cmCTestCurl.h"
#include "cmCTest.h"
#include "cmCurl.h"
#include "cmSystemTools.h"
#include <ostream>
......@@ -76,6 +77,7 @@ bool cmCTestCurl::InitCurl()
if (!this->Curl) {
return false;
if (this->VerifyPeerOff) {
curl_easy_setopt(this->Curl, CURLOPT_SSL_VERIFYPEER, 0);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment