From 61dbc218e747f1b550a2615ffe3065024db29239 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 15 Jun 2015 20:01:43 +0200 Subject: Replace setting tls_fingerprint with ca_bundle --- src/ui.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index 5dd5d79..91eb005 100644 --- a/src/ui.c +++ b/src/ui.c @@ -186,6 +186,9 @@ static CURLcode BarPianoHttpRequest (CURL * const http, setAndCheck (CURLOPT_WRITEDATA, &buffer); setAndCheck (CURLOPT_POST, 1); setAndCheck (CURLOPT_TIMEOUT, 30); + if (settings->caBundle != NULL) { + setAndCheck (CURLOPT_CAINFO, settings->caBundle); + } /* set up proxy (control proxy for non-us citizen or global proxy for poor * firewalled fellows) */ -- cgit v1.2.3