apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r587435 - /apr/apr-util/trunk/crypto/apr_md5.c
Date Tue, 23 Oct 2007 09:53:29 GMT
Author: wrowe
Date: Tue Oct 23 02:53:28 2007
New Revision: 587435

URL: http://svn.apache.org/viewvc?rev=587435&view=rev
Log:
Another explicitly-int length arg we can do nothing about

Modified:
    apr/apr-util/trunk/crypto/apr_md5.c

Modified: apr/apr-util/trunk/crypto/apr_md5.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/crypto/apr_md5.c?rev=587435&r1=587434&r2=587435&view=diff
==============================================================================
--- apr/apr-util/trunk/crypto/apr_md5.c (original)
+++ apr/apr-util/trunk/crypto/apr_md5.c Tue Oct 23 02:53:28 2007
@@ -709,7 +709,7 @@
         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 {
         /*



Mime
View raw message