diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-10-03 08:07:50 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-10-03 08:07:50 +0000 |
commit | ce81cd21d3865270867d68935c9700dbaf5b5fcc (patch) | |
tree | 5744d2d3f3e4873b9597b550b71ac3640147746e /include | |
parent | 51c6a5d43b09835289a469165aa7a2bfb79dbdc6 (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 'include')
-rw-r--r-- | include/curl/curl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 88d495fc9..52acc564a 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -367,7 +367,8 @@ typedef enum { CURLE_UNKNOWN_TELNET_OPTION, /* 48 - User specified an unknown option */ CURLE_TELNET_OPTION_SYNTAX , /* 49 - Malformed telnet option */ CURLE_OBSOLETE50, /* 50 - NOT USED */ - CURLE_SSL_PEER_CERTIFICATE, /* 51 - peer's certificate wasn't ok */ + CURLE_PEER_FAILED_VERIFICATION, /* 51 - peer's certificate or fingerprint + wasn't verified fine */ CURLE_GOT_NOTHING, /* 52 - when this is a specific error */ CURLE_SSL_ENGINE_NOTFOUND, /* 53 - SSL crypto engine not found */ CURLE_SSL_ENGINE_SETFAILED, /* 54 - can not set SSL crypto engine as @@ -416,9 +417,13 @@ typedef enum { the obsolete stuff removed! */ /* Backwards compatibility with older names */ + +/* The following were added in 7.17.1 */ /* These are scheduled to disappear by 2009 */ +#define CURLE_SSL_PEER_CERTIFICATE CURLE_PEER_FAILED_VERIFICATION /* The following were added in 7.17.0 */ +/* These are scheduled to disappear by 2009 */ #define CURLE_OBSOLETE CURLE_OBSOLETE50 /* noone should be using this! */ #define CURLE_BAD_PASSWORD_ENTERED CURLE_OBSOLETE46 #define CURLE_BAD_CALLING_ORDER CURLE_OBSOLETE44 |