summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-10-23 09:53:28 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2007-10-23 09:53:28 +0000
commit4fbeda85f0445331f54cdaaa3ca29319e33a25a2 (patch)
tree4895ada2a216ab0ab25722f88c0856fa93b2b487 /crypto
parent3399022e6512e9beebdc7022ba49b2b0643e877a (diff)
downloadlibapr-util-4fbeda85f0445331f54cdaaa3ca29319e33a25a2.tar.gz
Another explicitly-int length arg we can do nothing about
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@587435 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'crypto')
-rw-r--r--crypto/apr_md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/apr_md5.c b/crypto/apr_md5.c
index 078873c7..f22a1bb9 100644
--- a/crypto/apr_md5.c
+++ b/crypto/apr_md5.c
@@ -709,7 +709,7 @@ APU_DECLARE(apr_status_t) apr_password_validate(const char *passwd,
apr_md5_encode(passwd, hash, sample, sizeof(sample));
}
else if (!strncmp(hash, APR_SHA1PW_ID, APR_SHA1PW_IDLEN)) {
- apr_sha1_base64(passwd, strlen(passwd), sample);
+ apr_sha1_base64(passwd, (int)strlen(passwd), sample);
}
else {
/*