1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 09:21:50 -05:00

docs: add more description to unified ssl error codes

This commit is contained in:
Han Han 2018-11-19 15:57:44 -08:00
parent 0fd4427f40
commit 89d2e95f78

View File

@ -162,8 +162,6 @@ libcurl. The error buffer might contain more specific information about which
exact option it concerns. exact option it concerns.
.IP "CURLE_TELNET_OPTION_SYNTAX (49)" .IP "CURLE_TELNET_OPTION_SYNTAX (49)"
A telnet option string was Illegally formatted. A telnet option string was Illegally formatted.
.IP "CURLE_PEER_FAILED_VERIFICATION (51)"
The remote server's SSL certificate or SSH md5 fingerprint was deemed not OK.
.IP "CURLE_GOT_NOTHING (52)" .IP "CURLE_GOT_NOTHING (52)"
Nothing was returned from the server, and under the circumstances, getting Nothing was returned from the server, and under the circumstances, getting
nothing is considered an error. nothing is considered an error.
@ -179,8 +177,10 @@ Failure with receiving network data.
problem with the local client certificate. problem with the local client certificate.
.IP "CURLE_SSL_CIPHER (59)" .IP "CURLE_SSL_CIPHER (59)"
Couldn't use specified cipher. Couldn't use specified cipher.
.IP "CURLE_SSL_CACERT (60)" .IP "CURLE_PEER_FAILED_VERIFICATION (60)"
Peer certificate cannot be authenticated with known CA certificates. The remote server's SSL certificate or SSH md5 fingerprint was deemed not OK.
This error code has been unified with CURLE_SSL_CACERT since 7.62.0. Its
previous value was 51.
.IP "CURLE_BAD_CONTENT_ENCODING (61)" .IP "CURLE_BAD_CONTENT_ENCODING (61)"
Unrecognized transfer encoding. Unrecognized transfer encoding.
.IP "CURLE_LDAP_INVALID_URL (62)" .IP "CURLE_LDAP_INVALID_URL (62)"