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:15 +0200
commitc2aeb1b3ba09af8b2e555eafa94dd9c534426bfb (patch)
treedb57a234b919ec00a96417e8160c74a4768c144d /lib/curl_setup.h
parent1c32b6e913958174caee5df90b3f473a7a6881a2 (diff)
lib/curl_setup.h: remove CURL_WANTS_CA_BUNDLE_ENV
When this define was set, libcurl would check the environment variable named CURL_CA_BUNDLE at run-time and use that CA cert bundle. This feature was only defined by the watcom and m32 makefiles and caused inconsistent behaviours among libcurls built on different platforms. The curl tool does already feature its own similar logic and the library does not really need it, and it isn't documented libcurl behavior. So this change removes it. Ref: #1538
Diffstat (limited to 'lib/curl_setup.h')
-rw-r--r--lib/curl_setup.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/curl_setup.h b/lib/curl_setup.h
index 6391dd6c8..369b953d2 100644
--- a/lib/curl_setup.h
+++ b/lib/curl_setup.h
@@ -640,11 +640,6 @@ int netware_init(void);
#endif
#endif
-/* non-configure builds may define CURL_WANTS_CA_BUNDLE_ENV */
-#if defined(CURL_WANTS_CA_BUNDLE_ENV) && !defined(CURL_CA_BUNDLE)
-#define CURL_CA_BUNDLE getenv("CURL_CA_BUNDLE")
-#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