--- pgp/src/mdfile.h 2018/04/24 16:39:32 1.1.1.3 +++ pgp/src/mdfile.h 2018/04/24 16:42:32 1.1.1.6 @@ -7,11 +7,11 @@ /* Prototypes for MD5 routines */ /* Computes and returns the message digest from file position,longcount bytes */ -int MDfile0_len(MD5_CTX *mdContext, FILE *f, word32 longcount); +int MDfile0_len(struct MD5Context *mdContext, FILE *f, word32 longcount); /* Computes the message digest for a specified file */ -int MDfile(MD5_CTX *mdContext,char *filename); +int MDfile(struct MD5Context *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 (struct MD5Context *mdContext, byte *buf, int buflen, byte digest[16]);