]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
des: Fixed compilation warning from commit 613e5022fe
authorSteve Holme <steve_holme@hotmail.com>
Sun, 30 Aug 2015 19:45:30 +0000 (20:45 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 30 Aug 2015 20:45:30 +0000 (21:45 +0100)
curl_ntlm_core.c:150: warning 'Curl_des_set_odd_parity' undefined;
                      assuming extern returning int

lib/curl_des.c
lib/curl_des.h

index f90c2da6035f2722f918dd604b6e2219ad82c8cf..62f7f6008bf7649eec10cd061bc11a6258661d94 100644 (file)
@@ -60,4 +60,4 @@ void Curl_des_set_odd_parity(unsigned char *bytes, size_t len)
   }
 }
 
-#endif /* USE_NTLM && (!USE_OPENSSL || HAVE_BORINGSSL) */
+#endif /* USE_NTLM && !HAVE_DES_SET_ODD_PARITY */
index b855db4c177b37375b2f5bbb1286317c5315b254..a6e86f861a13007cc293c3c8a10dbfc38f0f451c 100644 (file)
@@ -29,6 +29,6 @@
 /* Applies odd parity to the given byte array */
 void Curl_des_set_odd_parity(unsigned char *bytes, size_t length);
 
-#endif /* USE_NTLM && (!USE_OPENSSL || HAVE_BORINGSSL) */
+#endif /* USE_NTLM && !HAVE_DES_SET_ODD_PARITY */
 
 #endif /* HEADER_CURL_DES_H */