summaryrefslogtreecommitdiff
path: root/passwd/apr_md5.c
diff options
context:
space:
mode:
Diffstat (limited to 'passwd/apr_md5.c')
-rw-r--r--passwd/apr_md5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/passwd/apr_md5.c b/passwd/apr_md5.c
index 48d1f1c4b..a2aecb49f 100644
--- a/passwd/apr_md5.c
+++ b/passwd/apr_md5.c
@@ -231,7 +231,7 @@ APR_DECLARE(apr_status_t) apr_md5_set_xlate(apr_md5_ctx_t *context,
*/
APR_DECLARE(apr_status_t) apr_md5_update(apr_md5_ctx_t *context,
const unsigned char *input,
- unsigned int inputLen)
+ apr_size_t inputLen)
{
unsigned int i, idx, partLen;
#if APR_HAS_XLATE
@@ -503,7 +503,7 @@ APR_DECLARE(apr_status_t) apr_md5_encode(const char *pw, const char *salt,
char passwd[120], *p;
const char *sp, *ep;
unsigned char final[MD5_DIGESTSIZE];
- int sl, pl, i;
+ apr_ssize_t sl, pl, i;
apr_md5_ctx_t ctx, ctx1;
unsigned long l;