diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-05-28 09:21:29 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-05-28 09:21:29 +0000 |
commit | 59c11b82d55b6e8110f2232f0fd47068e4072495 (patch) | |
tree | a5c684acecf09ad70e05ec653f690f8136c37e4e /lib | |
parent | 98871d1e9e0234cc9431dbea08ef1915cb131ee8 (diff) |
Cris Bailiff's CAPATH support added
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -981,7 +981,13 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...) * Set CA info for SSL connection. Specify file name of the CA certificate */ data->set.ssl.CAfile = va_arg(param, char *); - data->set.ssl.CApath = NULL; /*This does not work on windows.*/ + break; + case CURLOPT_CAPATH: + /* + * Set CA path info for SSL connection. Specify directory name of the CA certificates + * which have been prepared using openssl c_rehash utility. + */ + data->set.ssl.CApath = va_arg(param, char *); /*This does not work on windows.*/ break; case CURLOPT_TELNETOPTIONS: /* |