aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/url.c2
-rw-r--r--lib/vtls/openssl.h2
-rw-r--r--lib/vtls/polarssl.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/url.c b/lib/url.c
index 74eb7e49b..b2b68378a 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 9c2602f94..59adcd83e 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 dbe01966f..64139a63a 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()