aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_setup.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-06-15 11:11:15 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-06-15 11:11:39 +0200
commit7d7346519d8bff513f9ed9f0c5e709782b159e5a (patch)
tree644f7a540c32038db7ca84f10d36266bea85ca4b /lib/curl_setup.h
parentc2aeb1b3ba09af8b2e555eafa94dd9c534426bfb (diff)
curl_setup.h: error out on CURL_WANTS_CA_BUNDLE_ENV use
... to make it really apparent if there's any user using this on purpose. Suggested-by: Jay Satiro Closes #1542
Diffstat (limited to 'lib/curl_setup.h')
-rw-r--r--lib/curl_setup.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/curl_setup.h b/lib/curl_setup.h
index 369b953d2..eb4f038dd 100644
--- a/lib/curl_setup.h
+++ b/lib/curl_setup.h
@@ -640,6 +640,10 @@ int netware_init(void);
#endif
#endif
+#ifdef CURL_WANTS_CA_BUNDLE_ENV
+#error "No longer supported. Set CURLOPT_CAINFO at runtime instead."
+#endif
+
/*
* Provide a mechanism to silence picky compilers, such as gcc 4.6+.
* Parameters should of course normally not be unused, but for example when