--- pgp/src/mdfile.h 2018/04/24 16:38:49 1.1.1.2 +++ pgp/src/mdfile.h 2018/04/24 16:40:24 1.1.1.4 @@ -9,12 +9,9 @@ /* Computes and returns the message digest from file position,longcount bytes */ int MDfile0_len(MD5_CTX *mdContext, FILE *f, word32 longcount); -/* Computes the message digest for a file from current position to EOF */ -int MDfile0(MD5_CTX *mdContext,FILE *inFile); - /* Computes the message digest for a specified file */ int MDfile(MD5_CTX *mdContext,char *filename); -/* Finishes the message digest, including extra material */ -void MD_addbuffer (MD5_CTX *mdContext, byte *buf, int buflen, boolean finish); +/* Used to finish the message digest, including extra material. */ +void MD_addbuffer (MD5_CTX *mdContext, byte *buf, int buflen, byte digest[16]);