aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHan Han <hhan@thousandeyes.com>2018-11-19 15:16:54 -0800
committerHan Han <hhan@thousandeyes.com>2018-11-19 15:16:54 -0800
commit0fd4427f40b9b5a10c53650fabc9d049e0d33c23 (patch)
tree0e31e0a581cf37e3fe366bcd98717266c4cb8df0 /include
parentc19ed66a8dcd9b7dbbc422de3c98e53da5e38e38 (diff)
curle: move deprecated error code to ifndef block
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 5177e3571..3c5ce709a 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -585,9 +585,6 @@ typedef enum {
CURL_LAST /* never use! */
} CURLcode;
-/* added in 7.62.0 */
-#define CURLE_SSL_CACERT CURLE_PEER_FAILED_VERIFICATION
-
#ifndef CURL_NO_OLDIES /* define this to test if your app builds with all
the obsolete stuff removed! */
@@ -602,6 +599,9 @@ typedef enum {
#define CURLOPT_ENCODING CURLOPT_ACCEPT_ENCODING
#define CURLE_FTP_WEIRD_SERVER_REPLY CURLE_WEIRD_SERVER_REPLY
+/* The following were added in 7.62.0 */
+#define CURLE_SSL_CACERT CURLE_PEER_FAILED_VERIFICATION
+
/* The following were added in 7.21.5, April 2011 */
#define CURLE_UNKNOWN_TELNET_OPTION CURLE_UNKNOWN_OPTION