summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c3
1 files changed, 3 insertions, 0 deletions
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) */