aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-08-30 20:45:30 +0100
committerSteve Holme <steve_holme@hotmail.com>2015-08-30 21:45:30 +0100
commit347a6ee597b05b1caf1b9e539e318fadb90ae558 (patch)
treed03533fa6d35f8c8054a41fa0e848aef649a54bd
parent2a59fb25cc74b9e317f82ac400f49331504eee2e (diff)
des: Fixed compilation warning from commit 613e5022fe
curl_ntlm_core.c:150: warning 'Curl_des_set_odd_parity' undefined; assuming extern returning int
-rw-r--r--lib/curl_des.c2
-rw-r--r--lib/curl_des.h2
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 */