Sophie

Sophie

distrib > Mandriva > 2009.1 > i586 > media > main-release-src > by-pkgid > cb4cc75489c1829a16ebaba8331083fa > files > 6

apr-util-1.3.4-9mdv2009.1.src.rpm

Index: crypto/apr_sha1.c
===================================================================
--- crypto/apr_sha1.c	(revision 647687)
+++ crypto/apr_sha1.c	(revision 731415)
@@ -351,10 +351,6 @@
     apr_sha1_ctx_t context;
     apr_byte_t digest[APR_SHA1_DIGESTSIZE];
 
-    if (strncmp(clear, APR_SHA1PW_ID, APR_SHA1PW_IDLEN) == 0) {
-	clear += APR_SHA1PW_IDLEN;
-    }
-
     apr_sha1_init(&context);
     apr_sha1_update(&context, clear, len);
     apr_sha1_final(digest, &context);