summaryrefslogtreecommitdiff
path: root/passwd
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-05-15 14:15:50 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2001-05-15 14:15:50 +0000
commit65e42fb6986c42d96e2e5e8872ab39312230cbec (patch)
treef7888264d22f93d8cd17d0d16c9f99fe9709a0b4 /passwd
parentaa79bd39e09efc8a266bd5a15b02117b871ee235 (diff)
downloadlibapr-65e42fb6986c42d96e2e5e8872ab39312230cbec.tar.gz
Byte counts are apr_size_t, win32 declares a goofy ptrdiff_t that
corresponds to a normal ssize_t. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61642 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'passwd')
-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;