apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r587612 - /apr/apr-util/branches/1.2.x/crypto/apr_md5.c
Date Tue, 23 Oct 2007 19:03:35 GMT
Author: wrowe
Date: Tue Oct 23 12:03:35 2007
New Revision: 587612

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

Backport: r587485

Modified:
    apr/apr-util/branches/1.2.x/crypto/apr_md5.c

Modified: apr/apr-util/branches/1.2.x/crypto/apr_md5.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.2.x/crypto/apr_md5.c?rev=587612&r1=587611&r2=587612&view=diff
==============================================================================
--- apr/apr-util/branches/1.2.x/crypto/apr_md5.c (original)
+++ apr/apr-util/branches/1.2.x/crypto/apr_md5.c Tue Oct 23 12:03:35 2007
@@ -686,7 +686,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