summaryrefslogtreecommitdiff
path: root/content/fetchers/fetch_curl.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2007-06-27 15:39:56 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2007-06-27 15:39:56 +0000
commite91cfc8e476c45c5c3ed87040033672fc1faab35 (patch)
tree5547c3a8bec6699ff1c47176898471c4a2bd6433 /content/fetchers/fetch_curl.c
parent18edcf5a40573898785b6a41a38338143e94744c (diff)
downloadnetsurf-e91cfc8e476c45c5c3ed87040033672fc1faab35.tar.gz
netsurf-e91cfc8e476c45c5c3ed87040033672fc1faab35.tar.bz2
Add ca_path option which sets CURLOPT_CAPATH.
svn path=/trunk/netsurf/; revision=3369
Diffstat (limited to 'content/fetchers/fetch_curl.c')
-rw-r--r--content/fetchers/fetch_curl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/fetchers/fetch_curl.c b/content/fetchers/fetch_curl.c
index 96517b659..3d8423b61 100644
--- a/content/fetchers/fetch_curl.c
+++ b/content/fetchers/fetch_curl.c
@@ -1344,6 +1344,8 @@ void register_curl_fetchers(void)
if (option_ca_bundle)
SETOPT(CURLOPT_CAINFO, option_ca_bundle);
+ if (option_ca_path)
+ SETOPT(CURLOPT_CAPATH, option_ca_path);
/* cURL initialised okay, register the fetchers */