You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bn...@apache.org on 2001/08/06 17:46:04 UTC

cvs commit: apr/passwd apr_md5.c

bnicholes    01/08/06 08:46:04

  Modified:    passwd   apr_md5.c
  Log:
  Added NETWARE to the #ifdef list
  
  Revision  Changes    Path
  1.15      +2 -2      apr/passwd/apr_md5.c
  
  Index: apr_md5.c
  ===================================================================
  RCS file: /home/cvs/apr/passwd/apr_md5.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- apr_md5.c	2001/06/04 18:38:31	1.14
  +++ apr_md5.c	2001/08/06 15:46:04	1.15
  @@ -680,7 +680,7 @@
                                                  const char *hash)
   {
       char sample[120];
  -#if !defined(WIN32) && !defined(BEOS)
  +#if !defined(WIN32) && !defined(BEOS) && !defined(NETWARE)
       char *crypt_pw;
   #endif
       if (!strncmp(hash, apr1_id, strlen(apr1_id))) {
  @@ -693,7 +693,7 @@
           /*
            * It's not our algorithm, so feed it to crypt() if possible.
            */
  -#if defined(WIN32) || defined(BEOS)
  +#if defined(WIN32) || defined(BEOS) || defined(NETWARE)
           apr_cpystrn(sample, passwd, sizeof(sample) - 1);
   #else
           crypt_pw = crypt(passwd, hash);