364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
|
}
return zOut;
}
/*
** Compute the MD5 checksum of a file on disk. Store the resulting
** checksum in the blob pCksum. pCksum is assumed to be ininitialized.
**
** Return the number of errors.
*/
int md5sum_file(const char *zFilename, Blob *pCksum){
FILE *in;
MD5Context ctx;
unsigned char zResult[16];
|
|
|
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
|
}
return zOut;
}
/*
** Compute the MD5 checksum of a file on disk. Store the resulting
** checksum in the blob pCksum. pCksum is assumed to be initialized.
**
** Return the number of errors.
*/
int md5sum_file(const char *zFilename, Blob *pCksum){
FILE *in;
MD5Context ctx;
unsigned char zResult[16];
|