From: ewt Date: Tue, 20 Feb 1996 17:58:31 +0000 (+0000) Subject: fixed to return correct sum :-) X-Git-Tag: tznext/4.11.0.1.tizen20130304~11602 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b525901c125da27db4894fb3e33fabc08f4bb80;p=tools%2Flibrpm-tizen.git fixed to return correct sum :-) CVS patchset: 358 CVS date: 1996/02/20 17:58:31 --- diff --git a/lib/md5sum.c b/lib/md5sum.c index a7493d5..1743e7d 100644 --- a/lib/md5sum.c +++ b/lib/md5sum.c @@ -39,7 +39,7 @@ int mdfile(char *fn, unsigned char *digest) { } sprintf(digest, "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x" - "%02x%02x%02x%02x%2x", + "%02x%02x%02x%02x%02x", bindigest[0], bindigest[1], bindigest[2], bindigest[3], bindigest[4], bindigest[5], bindigest[6], bindigest[7], bindigest[8], bindigest[9], bindigest[10], bindigest[11],