ronald 99/11/02 22:17:17
Modified: src/include ap_md5.h Log: Added MD5_DIGESTSIZE constant. Revision Changes Path 1.2 +4 -1 apache-2.0/src/include/ap_md5.h Index: ap_md5.h =================================================================== RCS file: /home/cvs/apache-2.0/src/include/ap_md5.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ap_md5.h 1999/08/24 05:50:43 1.1 +++ ap_md5.h 1999/11/03 06:17:16 1.2 @@ -94,6 +94,8 @@ /* MD5.H - header file for MD5C.C */ +#define MD5_DIGESTSIZE 16 + /* UINT4 defines a four byte word */ typedef unsigned int UINT4; @@ -114,7 +116,8 @@ API_EXPORT(void) ap_MD5Init(AP_MD5_CTX *context); API_EXPORT(void) ap_MD5Update(AP_MD5_CTX *context, const unsigned char *input, unsigned int inputLen); -API_EXPORT(void) ap_MD5Final(unsigned char digest[16], AP_MD5_CTX *context); +API_EXPORT(void) ap_MD5Final(unsigned char digest[MD5_DIGESTSIZE], + AP_MD5_CTX *context); API_EXPORT(void) ap_MD5Encode(const unsigned char *password, const unsigned char *salt, char *result, size_t nbytes);