summaryrefslogtreecommitdiff
path: root/content/fetchers/curl.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-05-19 22:35:41 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-05-19 22:35:41 +0000
commit381588bece3a59952bba9991b1f21eb32c640624 (patch)
tree93aff08cb4a82876dd98f9d0d8c2eb244669a578 /content/fetchers/curl.c
parented7e65c74b12758476495068b35490eb2bd14b10 (diff)
downloadnetsurf-381588bece3a59952bba9991b1f21eb32c640624.tar.gz
netsurf-381588bece3a59952bba9991b1f21eb32c640624.tar.bz2
Log CA options
svn path=/trunk/netsurf/; revision=12436
Diffstat (limited to 'content/fetchers/curl.c')
-rw-r--r--content/fetchers/curl.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/content/fetchers/curl.c b/content/fetchers/curl.c
index 8cb869e52..869c25f0c 100644
--- a/content/fetchers/curl.c
+++ b/content/fetchers/curl.c
@@ -200,10 +200,14 @@ void fetch_curl_register(void)
SETOPT(CURLOPT_NOSIGNAL, 1L);
SETOPT(CURLOPT_CONNECTTIMEOUT, 30L);
- if (option_ca_bundle && strcmp(option_ca_bundle, ""))
+ if (option_ca_bundle && strcmp(option_ca_bundle, "")) {
+ LOG(("option_ca_bundle: '%s'", option_ca_bundle));
SETOPT(CURLOPT_CAINFO, option_ca_bundle);
- if (option_ca_path && strcmp(option_ca_path, ""))
+ }
+ if (option_ca_path && strcmp(option_ca_path, "")) {
+ LOG(("option_ca_path: '%s'", option_ca_path));
SETOPT(CURLOPT_CAPATH, option_ca_path);
+ }
/* Detect whether the SSL CTX function API works */
curl_with_openssl = true;