diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-01-24 22:50:47 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-01-24 22:50:47 +1100 |
commit | 218f178cb20c276027e972bff0208043fcf533a3 (patch) | |
tree | 6f7c0e87dfe6dc62a502236fbb80a0e8c03150a5 /auth-passwd.c | |
parent | 1b7223c00552baefe032c3b4da9989738df5f0f9 (diff) | |
download | openssh-git-218f178cb20c276027e972bff0208043fcf533a3.tar.gz |
- dtucker@cvs.openbsd.org 2005/01/24 11:47:13
[auth-passwd.c]
#if -> #ifdef so builds without HAVE_LOGIN_CAP work too; ok djm@ otto@
Diffstat (limited to 'auth-passwd.c')
-rw-r--r-- | auth-passwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-passwd.c b/auth-passwd.c index 2e5fbc73..fb14f5ce 100644 --- a/auth-passwd.c +++ b/auth-passwd.c @@ -36,7 +36,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth-passwd.c,v 1.32 2005/01/21 08:32:02 otto Exp $"); +RCSID("$OpenBSD: auth-passwd.c,v 1.33 2005/01/24 11:47:13 dtucker Exp $"); #include "packet.h" #include "buffer.h" @@ -131,7 +131,7 @@ warn_expiry(Authctxt *authctxt, auth_session_t *as) pwtimeleft = auth_check_change(as); actimeleft = auth_check_expire(as); -#if HAVE_LOGIN_CAP +#ifdef HAVE_LOGIN_CAP if (authctxt->valid) { pwwarntime = login_getcaptime(lc, "password-warn", TWO_WEEKS, TWO_WEEKS); |