diff options
author | Bradley Nicholes <bnicholes@apache.org> | 2001-08-06 15:46:04 +0000 |
---|---|---|
committer | Bradley Nicholes <bnicholes@apache.org> | 2001-08-06 15:46:04 +0000 |
commit | 5eebd37e10392278441958720a0de8bc249b2c58 (patch) | |
tree | b8651c13c2cf4abfed22192ea971d382a6183bcc /passwd | |
parent | f18debb2d28222fb96a054e66d02bf32da39a728 (diff) | |
download | apr-5eebd37e10392278441958720a0de8bc249b2c58.tar.gz |
Added NETWARE to the #ifdef list
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62103 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'passwd')
-rw-r--r-- | passwd/apr_md5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/passwd/apr_md5.c b/passwd/apr_md5.c index 9ce2e3f05..e2fd57a60 100644 --- a/passwd/apr_md5.c +++ b/passwd/apr_md5.c @@ -680,7 +680,7 @@ APR_DECLARE(apr_status_t) apr_password_validate(const char *passwd, 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 @@ APR_DECLARE(apr_status_t) apr_password_validate(const char *passwd, /* * 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); |