mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:31:41 +03:00
url: Default the CA proxy bundle location to CURL_CA_BUNDLE
If the compile-time CURL_CA_BUNDLE location is defined use it as the default value for the proxy CA bundle location, which is the same as what we already do for the regular CA bundle location. Ref: https://github.com/curl/curl/pull/1257
This commit is contained in:
parent
53ab183c1a
commit
93cce2489d
1 changed files with 4 additions and 0 deletions
|
|
@ -577,6 +577,10 @@ CURLcode Curl_init_userdefined(struct UserDefined *set)
|
|||
result = setstropt(&set->str[STRING_SSL_CAFILE_ORIG], CURL_CA_BUNDLE);
|
||||
if(result)
|
||||
return result;
|
||||
|
||||
result = setstropt(&set->str[STRING_SSL_CAFILE_PROXY], CURL_CA_BUNDLE);
|
||||
if(result)
|
||||
return result;
|
||||
#endif
|
||||
#if defined(CURL_CA_PATH)
|
||||
result = setstropt(&set->str[STRING_SSL_CAPATH_ORIG], CURL_CA_PATH);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue