aboutsummaryrefslogtreecommitdiff
path: root/lib/strerror.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-10-03 08:07:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-10-03 08:07:50 +0000
commitce81cd21d3865270867d68935c9700dbaf5b5fcc (patch)
tree5744d2d3f3e4873b9597b550b71ac3640147746e /lib/strerror.c
parent51c6a5d43b09835289a469165aa7a2bfb79dbdc6 (diff)
I renamed the CURLE_SSL_PEER_CERTIFICATE error code to
CURLE_PEER_FAILED_VERIFICATION (standard CURL_NO_OLDIES style), and made this return code get used by the previous SSH MD5 fingerprint check in case it fails.
Diffstat (limited to 'lib/strerror.c')
-rw-r--r--lib/strerror.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/strerror.c b/lib/strerror.c
index 658a8cba1..94c0f8820 100644
--- a/lib/strerror.c
+++ b/lib/strerror.c
@@ -174,8 +174,8 @@ curl_easy_strerror(CURLcode error)
case CURLE_TELNET_OPTION_SYNTAX :
return "Malformed telnet option";
- case CURLE_SSL_PEER_CERTIFICATE:
- return "SSL peer certificate was not OK";
+ case CURLE_PEER_FAILED_VERIFICATION:
+ return "SSL peer certificate or SSH md5 fingerprint was not OK";
case CURLE_GOT_NOTHING:
return "Server returned nothing (no headers, no data)";