summaryrefslogtreecommitdiff
path: root/passwd
diff options
context:
space:
mode:
authorbnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68>2001-08-06 15:46:04 +0000
committerbnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68>2001-08-06 15:46:04 +0000
commit997236e1b519761eb840bf74faa5948afc8c39e6 (patch)
treeb8651c13c2cf4abfed22192ea971d382a6183bcc /passwd
parentde930c6405b29bac8b269d537ec8e022e59cba32 (diff)
downloadlibapr-997236e1b519761eb840bf74faa5948afc8c39e6.tar.gz
Added NETWARE to the #ifdef list
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62103 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'passwd')
-rw-r--r--passwd/apr_md5.c4
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);