Loading lib/url.c +4 −0 Original line number Diff line number Diff line Loading @@ -1991,6 +1991,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, va_arg(param, char *)); break; case CURLOPT_CAPATH: #ifdef have_ca_path /* not supported by all backends */ /* * Set CA path info for SSL connection. Specify directory name of the CA * certificates which have been prepared using openssl c_rehash utility. Loading @@ -1998,6 +1999,9 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, /* This does not work on windows. */ result = setstropt(&data->set.str[STRING_SSL_CAPATH], va_arg(param, char *)); #else result = CURLE_NOT_BUILT_IN; #endif break; case CURLOPT_CRLFILE: /* Loading lib/vtls/openssl.h +3 −0 Original line number Diff line number Diff line Loading @@ -76,6 +76,9 @@ void Curl_ossl_md5sum(unsigned char *tmp, /* input */ /* this backend provides these functions: */ #define have_curlssl_md5sum 1 /* this backend supports the CAPATH option */ #define have_ca_path 1 /* API setup for OpenSSL */ #define curlssl_init Curl_ossl_init #define curlssl_cleanup Curl_ossl_cleanup Loading lib/vtls/polarssl.h +4 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ * \___|\___/|_| \_\_____| * * Copyright (C) 2010, Hoi-Ho Chan, <hoiho.chan@gmail.com> * Copyright (C) 2014, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading Loading @@ -47,6 +48,9 @@ void Curl_polarssl_session_free(void *ptr); size_t Curl_polarssl_version(char *buffer, size_t size); int Curl_polarssl_shutdown(struct connectdata *conn, int sockindex); /* this backend supports the CAPATH option */ #define have_ca_path 1 /* API setup for PolarSSL */ #define curlssl_init() polarssl_init() #define curlssl_cleanup() polarssl_cleanup() Loading Loading
lib/url.c +4 −0 Original line number Diff line number Diff line Loading @@ -1991,6 +1991,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, va_arg(param, char *)); break; case CURLOPT_CAPATH: #ifdef have_ca_path /* not supported by all backends */ /* * Set CA path info for SSL connection. Specify directory name of the CA * certificates which have been prepared using openssl c_rehash utility. Loading @@ -1998,6 +1999,9 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, /* This does not work on windows. */ result = setstropt(&data->set.str[STRING_SSL_CAPATH], va_arg(param, char *)); #else result = CURLE_NOT_BUILT_IN; #endif break; case CURLOPT_CRLFILE: /* Loading
lib/vtls/openssl.h +3 −0 Original line number Diff line number Diff line Loading @@ -76,6 +76,9 @@ void Curl_ossl_md5sum(unsigned char *tmp, /* input */ /* this backend provides these functions: */ #define have_curlssl_md5sum 1 /* this backend supports the CAPATH option */ #define have_ca_path 1 /* API setup for OpenSSL */ #define curlssl_init Curl_ossl_init #define curlssl_cleanup Curl_ossl_cleanup Loading
lib/vtls/polarssl.h +4 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ * \___|\___/|_| \_\_____| * * Copyright (C) 2010, Hoi-Ho Chan, <hoiho.chan@gmail.com> * Copyright (C) 2014, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading Loading @@ -47,6 +48,9 @@ void Curl_polarssl_session_free(void *ptr); size_t Curl_polarssl_version(char *buffer, size_t size); int Curl_polarssl_shutdown(struct connectdata *conn, int sockindex); /* this backend supports the CAPATH option */ #define have_ca_path 1 /* API setup for PolarSSL */ #define curlssl_init() polarssl_init() #define curlssl_cleanup() polarssl_cleanup() Loading