summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-06-05 09:09:58 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-06-05 09:09:58 +0200
commit46df6bf3f25be75ab8a514114b99720b32cb84fd (patch)
tree339f31c73f04956b458e0ec9c90fee787cb02ff8 /lib
parent53bc21756509f6c90bf93e285174fea6cfd937a3 (diff)
downloadcurl-bagder/remove-wants-ca-bundle-env.tar.gz
curl_setup.h: error out on CURL_WANTS_CA_BUNDLE_ENV usebagder/remove-wants-ca-bundle-env
... to make it really apparent if there's any user using this on purpose. Suggested-by: Jay Satiro
Diffstat (limited to 'lib')
-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 0d55258d8..5e01d4fc6 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