From 347a6ee597b05b1caf1b9e539e318fadb90ae558 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 30 Aug 2015 20:45:30 +0100 Subject: des: Fixed compilation warning from commit 613e5022fe curl_ntlm_core.c:150: warning 'Curl_des_set_odd_parity' undefined; assuming extern returning int --- lib/curl_des.c | 2 +- lib/curl_des.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/curl_des.c b/lib/curl_des.c index f90c2da60..62f7f6008 100644 --- a/lib/curl_des.c +++ b/lib/curl_des.c @@ -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 */ diff --git a/lib/curl_des.h b/lib/curl_des.h index b855db4c1..a6e86f861 100644 --- a/lib/curl_des.h +++ b/lib/curl_des.h @@ -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 */ -- cgit v1.2.3