mirror of
https://github.com/curl/curl.git
synced 2026-08-25 23:23:31 +03:00
CURLcode: add CURLE_SSL_CLIENTCERT
When a TLS server requests a client certificate during handshake and none can be provided, libcurl now returns this new error code CURLE_SSL_CLIENTCERT Only supported by Secure Transport and OpenSSL for TLS 1.3 so far. Closes #6721
This commit is contained in:
parent
0acfe05c2e
commit
94241a9e78
7 changed files with 26 additions and 4 deletions
|
|
@ -320,9 +320,12 @@ curl_easy_strerror(CURLcode error)
|
|||
case CURLE_QUIC_CONNECT_ERROR:
|
||||
return "QUIC connection error";
|
||||
|
||||
case CURLE_PROXY:
|
||||
case CURLE_PROXY:
|
||||
return "proxy handshake error";
|
||||
|
||||
case CURLE_SSL_CLIENTCERT:
|
||||
return "SSL Client Certificate required";
|
||||
|
||||
/* error codes not used by current libcurl */
|
||||
case CURLE_OBSOLETE20:
|
||||
case CURLE_OBSOLETE24:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue