]> granicus.if.org Git - curl/commitdiff
curle: move deprecated error code to ifndef block
authorHan Han <hhan@thousandeyes.com>
Mon, 19 Nov 2018 23:16:54 +0000 (15:16 -0800)
committerHan Han <hhan@thousandeyes.com>
Mon, 19 Nov 2018 23:16:54 +0000 (15:16 -0800)
include/curl/curl.h

index 5177e3571363d40064dd8972138f935d07fdf636..3c5ce709a5883e8507ccca1a3e5cdb712788a820 100644 (file)
@@ -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