mirror of
https://github.com/curl/curl.git
synced 2026-06-08 19:04:21 +03:00
schannel: add an error message for client cert not found
Prior to this change curl would show the generic error message "curl: (58) Problem with the local SSL certificate". Closes #xxxx
This commit is contained in:
parent
02b22ee4ea
commit
6d14f71b32
1 changed files with 1 additions and 0 deletions
|
|
@ -730,6 +730,7 @@ schannel_acquire_credential_handle(struct Curl_cfilter *cf,
|
|||
if(!client_certs[0]) {
|
||||
/* CRYPT_E_NOT_FOUND / E_INVALIDARG */
|
||||
CertCloseStore(cert_store, 0);
|
||||
failf(data, "schannel: client cert not found in cert store");
|
||||
return CURLE_SSL_CERTPROBLEM;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue