Parent Directory | Revision Log | Revision Graph | Patch
revision 1.1 by edhill, Tue Aug 26 20:45:25 2003 UTC | revision 1.4 by jmc, Tue Feb 26 17:05:00 2008 UTC | |
---|---|---|
# | Line 128 char *md5digest(FILE *infile, long int * | Line 128 char *md5digest(FILE *infile, long int * |
128 | int nbytes; | int nbytes; |
129 | ||
130 | MD5Init(&context); | MD5Init(&context); |
131 | while (nbytes = fread(buf, 1, sizeof(buf), infile)) { | while ((nbytes = fread(buf, 1, sizeof(buf), infile))) { |
132 | length += nbytes; | length += nbytes; |
133 | MD5Update(&context, buf, nbytes); | MD5Update(&context, buf, nbytes); |
134 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.22 |