diff --git a/lib/url.c b/lib/url.c index 74eb7e49b91255470f2871b576f93b743ddf2e9e..b2b68378a95292e1167b7559926fdb611a57d8c0 100644 --- a/lib/url.c +++ b/lib/url.c @@ -1994,7 +1994,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 */ +#ifdef have_curlssl_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. diff --git a/lib/vtls/openssl.h b/lib/vtls/openssl.h index 9c2602f94aab11175d1bca8f5319551029886895..59adcd83e9c54384ca31897a6481eff7acd31082 100644 --- a/lib/vtls/openssl.h +++ b/lib/vtls/openssl.h @@ -77,7 +77,7 @@ void Curl_ossl_md5sum(unsigned char *tmp, /* input */ #define have_curlssl_md5sum 1 /* this backend supports the CAPATH option */ -#define have_ca_path 1 +#define have_curlssl_ca_path 1 /* this backend supports CURLOPT_CERTINFO */ #define have_curlssl_certinfo 1 diff --git a/lib/vtls/polarssl.h b/lib/vtls/polarssl.h index dbe01966f8853c1c78062105e06ace800a1034f6..64139a63adb5f07f910c115b772347e0b7db824e 100644 --- a/lib/vtls/polarssl.h +++ b/lib/vtls/polarssl.h @@ -49,7 +49,7 @@ 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 +#define have_curlssl_ca_path 1 /* API setup for PolarSSL */ #define curlssl_init() polarssl_init()