You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by fi...@apache.org on 2002/04/28 11:02:20 UTC

cvs commit: httpd-2.0/modules/aaa mod_auth_digest.c

fielding    02/04/28 02:02:19

  Modified:    modules/aaa mod_auth_digest.c
  Log:
  kill a warning on Darwin for NONCE_LEN becoming a long int by math.
  
  Revision  Changes    Path
  1.62      +1 -1      httpd-2.0/modules/aaa/mod_auth_digest.c
  
  Index: mod_auth_digest.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/aaa/mod_auth_digest.c,v
  retrieving revision 1.61
  retrieving revision 1.62
  diff -u -r1.61 -r1.62
  --- mod_auth_digest.c	13 Mar 2002 20:47:44 -0000	1.61
  +++ mod_auth_digest.c	28 Apr 2002 09:02:19 -0000	1.62
  @@ -151,7 +151,7 @@
   
   #define NONCE_TIME_LEN  (((sizeof(apr_time_t)+2)/3)*4)
   #define NONCE_HASH_LEN  (2*APR_SHA1_DIGESTSIZE)
  -#define NONCE_LEN       (NONCE_TIME_LEN + NONCE_HASH_LEN)
  +#define NONCE_LEN       (int )(NONCE_TIME_LEN + NONCE_HASH_LEN)
   
   #define SECRET_LEN      20