httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: httpd-2.0/support htpasswd.c
Date Tue, 10 Sep 2002 22:32:47 GMT
bnicholes    2002/09/10 15:32:47

  Modified:    support  htpasswd.c
  Log:
  Avoid a compiler error on NetWare
  
  Submitted by: Jean-Jacques Clar (jjclar@novell.com)
  
  Revision  Changes    Path
  1.58      +1 -1      httpd-2.0/support/htpasswd.c
  
  Index: htpasswd.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/htpasswd.c,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- htpasswd.c	10 Sep 2002 03:00:50 -0000	1.57
  +++ htpasswd.c	10 Sep 2002 22:32:46 -0000	1.58
  @@ -215,7 +215,7 @@
           int i;
   
           /* Take the MD5 hash of the string argument.  */
  -        apr_md5(hash, pw, strlen(pw));
  +        apr_md5(hash, (const unsigned char*)pw, strlen(pw));
   
           for (i = 0, r = cpw; i < MD5_DIGESTSIZE; i++) {
               *r++ = hex[hash[i] >> 4];
  
  
  

Mime
View raw message