mirror of
https://github.com/curl/curl.git
synced 2026-08-25 20:23:32 +03:00
tool: use feature names instead of bit mask, when possible
If the run-time libcurl is too old to support feature names, the name array is created locally from the bit masks. This is the only sequence left that uses feature bit masks. Closes #9583
This commit is contained in:
parent
e1e482517f
commit
184fc6f07a
6 changed files with 160 additions and 129 deletions
|
|
@ -626,8 +626,7 @@ CURLcode FindWin32CACert(struct OperationConfig *config,
|
|||
* ignored. We allow setting CA location for schannel only when explicitly
|
||||
* specified by the user via CURLOPT_CAINFO / --cacert.
|
||||
*/
|
||||
if((curlinfo->features & CURL_VERSION_SSL) &&
|
||||
backend != CURLSSLBACKEND_SCHANNEL) {
|
||||
if(feature_ssl && backend != CURLSSLBACKEND_SCHANNEL) {
|
||||
|
||||
DWORD res_len;
|
||||
TCHAR buf[PATH_MAX];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue