aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_md4.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2020-02-23 18:46:24 +0000
committerSteve Holme <steve_holme@hotmail.com>2020-02-23 18:47:32 +0000
commitbaf0b680f955833048eaeaf12c4bed759c337904 (patch)
tree99340b80baa8c3966f10ec390fd38906ea008d93 /lib/curl_md4.h
parent1f4911bc263c8f2aa03fac9e45b82e6c9f418423 (diff)
md4: Use const for the length input parameter
This keeps the interface the same as md5 and sha256.
Diffstat (limited to 'lib/curl_md4.h')
-rw-r--r--lib/curl_md4.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/curl_md4.h b/lib/curl_md4.h
index 82df708ce..c7bb20981 100644
--- a/lib/curl_md4.h
+++ b/lib/curl_md4.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -28,7 +28,8 @@
#define MD4_DIGEST_LENGTH 16
-void Curl_md4it(unsigned char *output, const unsigned char *input, size_t len);
+void Curl_md4it(unsigned char *output, const unsigned char *input,
+ const size_t len);
#endif /* !defined(CURL_DISABLE_CRYPTO_AUTH) */