mirror of
https://github.com/curl/curl.git
synced 2026-08-24 20:23:40 +03:00
Armel Asselin separated CA cert verification problems from problems with
reading the (local) CA cert file to let users easier pinpoint the actual problem. CURLE_SSL_CACERT_BADFILE (77) is the new libcurl error code.
This commit is contained in:
parent
33acd6f041
commit
4e717cdb30
8 changed files with 22 additions and 6 deletions
|
|
@ -1272,7 +1272,7 @@ Curl_ossl_connect_step1(struct connectdata *conn,
|
|||
" CAfile: %s\n CApath: %s\n",
|
||||
data->set.ssl.CAfile ? data->set.ssl.CAfile : "none",
|
||||
data->set.ssl.CApath ? data->set.ssl.CApath : "none");
|
||||
return CURLE_SSL_CACERT;
|
||||
return CURLE_SSL_CACERT_BADFILE;
|
||||
}
|
||||
else {
|
||||
/* Just continue with a warning if no strict certificate verification
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue