mirror of
https://github.com/curl/curl.git
synced 2026-08-24 15:33:37 +03:00
CURLE_SSL_INSECURE is removed again and so is CURLOPT_SSL_INSECURE, we
proceed fine with the already existing options, just having a different internal library default for capath.
This commit is contained in:
parent
5644f4a295
commit
0e0caf7c06
8 changed files with 51 additions and 62 deletions
|
|
@ -722,7 +722,7 @@ Curl_SSLConnect(struct connectdata *conn)
|
|||
data->set.key,
|
||||
data->set.key_type)) {
|
||||
/* failf() is already done in cert_stuff() */
|
||||
return CURLE_SSL_CONNECT_ERROR;
|
||||
return CURLE_SSL_CERTPROBLEM;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -730,7 +730,7 @@ Curl_SSLConnect(struct connectdata *conn)
|
|||
if (!SSL_CTX_set_cipher_list(conn->ssl.ctx,
|
||||
data->set.ssl.cipher_list)) {
|
||||
failf(data, "failed setting cipher list");
|
||||
return CURLE_SSL_CONNECT_ERROR;
|
||||
return CURLE_SSL_CIPHER;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -743,7 +743,7 @@ Curl_SSLConnect(struct connectdata *conn)
|
|||
data->set.ssl.CAfile,
|
||||
data->set.ssl.CApath)) {
|
||||
failf(data,"error setting cerficate verify locations");
|
||||
return CURLE_SSL_CONNECT_ERROR;
|
||||
return CURLE_SSL_CACERT;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue