ssl: deprecate CURLE_SSL_CACERT in favour of a unified error code

Long live CURLE_PEER_FAILED_VERIFICATION
This commit is contained in:
Han Han 2018-08-22 11:13:32 -07:00 committed by Daniel Stenberg
parent 0029aabc56
commit 3f3b26d6fe
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
10 changed files with 17 additions and 18 deletions

View file

@ -83,7 +83,7 @@ e47: Number of redirects hit maximum amount
e48: An unknown option was passed in to libcurl
e49: Malformed telnet option
e50: Unknown error
e51: SSL peer certificate or SSH remote key was not OK
e51: Unknown error
e52: Server returned nothing (no headers, no data)
e53: SSL crypto engine not found
e54: Can not set SSL crypto engine as default
@ -92,7 +92,7 @@ e56: Failure when receiving data from the peer
e57: Unknown error
e58: Problem with the local SSL certificate
e59: Couldn't use specified SSL cipher
e60: Peer certificate cannot be authenticated with given CA certificates
e60: SSL peer certificate or SSH remote key was not OK
e61: Unrecognized or bad HTTP Content or Transfer-Encoding
e62: Invalid LDAP URL
e63: Maximum file size exceeded

View file

@ -37,7 +37,7 @@ perl -e "print 'Test requires default test server host' if ( '%HOSTIP' ne '127.0
# Verify data after the test has been "shot"
<verify>
<errorcode>
51
60
</errorcode>
</verify>
</testcase>

View file

@ -37,7 +37,7 @@ perl -e "print 'Test requires default test server host' if ( '%HOSTIP' ne '127.0
# Verify data after the test has been "shot"
<verify>
<errorcode>
51
60
</errorcode>
</verify>
</testcase>

View file

@ -25,7 +25,7 @@ SFTP incorrect host key
# Verify data after the test has been "shot"
<verify>
<errorcode>
51
60
</errorcode>
<valgrind>
disable

View file

@ -25,7 +25,7 @@ SCP incorrect host key
# Verify data after the test has been "shot"
<verify>
<errorcode>
51
60
</errorcode>
<valgrind>
disable