ronald      99/09/19 14:24:02

  Modified:    src/include ap_md5.h
  Log:
  Added MD5_DIGESTSIZE constant.
  
  Revision  Changes    Path
  1.10      +4 -1      apache-1.3/src/include/ap_md5.h
  
  Index: ap_md5.h
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/include/ap_md5.h,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ap_md5.h  1999/08/14 08:35:47     1.9
  +++ ap_md5.h  1999/09/19 21:24:01     1.10
  @@ -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);
  
  
  

Reply via email to