From 5eebd37e10392278441958720a0de8bc249b2c58 Mon Sep 17 00:00:00 2001 From: Bradley Nicholes Date: Mon, 6 Aug 2001 15:46:04 +0000 Subject: Added NETWARE to the #ifdef list git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62103 13f79535-47bb-0310-9956-ffa450edef68 --- passwd/apr_md5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'passwd') 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); -- cgit v1.2.1