X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/c627d61324e9dcd5df833ee6236dd10415f5bac4..27d3cdbc943a57d64f4f2a35a4f1e1b15d9ca41f:/md4.c diff --git a/md4.c b/md4.c index 0a9d821f..9fc08254 100644 --- a/md4.c +++ b/md4.c @@ -102,7 +102,7 @@ ** Assumes X is an array of 16 ints. ** The macro revx reverses the byte-ordering of the next word of X. */ - void MDreverse(X) +static void MDreverse(X) unsigned int32 *X; { register unsigned int32 t; register unsigned int i; @@ -213,7 +213,7 @@ if (count == 0 && MDp->done) return; /* check to see if MD is already done and report error */ if (MDp->done) - { printf("\nError: MDupdate MD already done."); return; } + { rprintf(FERROR,"\nError: MDupdate MD already done."); return; } /* Add count to MDp->count */ tmp = count; p = MDp->count; @@ -225,10 +225,10 @@ /* Process data */ if (count == 512) { /* Full block of data to handle */ - MDblock(MDp,(unsigned int *)X); + MDblock(MDp,(unsigned int32 *)X); } else if (count > 512) /* Check for count too large */ - { printf("\nError: MDupdate called with illegal count value %d." + { rprintf(FERROR,"\nError: MDupdate called with illegal count value %d." ,count); return; }