mirror of
https://github.com/curl/curl.git
synced 2025-03-13 15:37:04 +08:00
FindWin32CACert: return OK even if CA cert isn't found
Bug: http://curl.haxx.se/mail/lib-2011-11/0180.html Reported by: Mark Brand
This commit is contained in:
parent
591c29aa49
commit
b9660dc4b2
@ -285,8 +285,6 @@ CURLcode FindWin32CACert(struct Configurable *config, const char *bundle_file)
|
|||||||
if(!config->cacert)
|
if(!config->cacert)
|
||||||
result = CURLE_OUT_OF_MEMORY;
|
result = CURLE_OUT_OF_MEMORY;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
result = CURLE_SSL_CACERT;
|
|
||||||
|
|
||||||
Curl_safefree(buf);
|
Curl_safefree(buf);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user