summaryrefslogtreecommitdiff
path: root/auth-passwd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2004-06-22 03:37:11 +0000
committerBen Lindstrom <mouring@eviladmin.org>2004-06-22 03:37:11 +0000
commite35bf12eebca0c3ca248dca4c04bff83b9c475a1 (patch)
tree59869ab8834932a6a5a3965a4b30d4d44dbfb10a /auth-passwd.c
parent59bf4a9bd44ce2c719437c74bd1e8e73b57d3c4a (diff)
- (bal) [auth-passwd.c auth1.c] Clean up unused variables.
Diffstat (limited to 'auth-passwd.c')
-rw-r--r--auth-passwd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/auth-passwd.c b/auth-passwd.c
index da247df7d..7a68e0562 100644
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -64,7 +64,9 @@ auth_password(Authctxt *authctxt, const char *password)
64{ 64{
65 struct passwd * pw = authctxt->pw; 65 struct passwd * pw = authctxt->pw;
66 int ok = authctxt->valid; 66 int ok = authctxt->valid;
67#if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE)
67 static int expire_checked = 0; 68 static int expire_checked = 0;
69#endif
68 70
69#ifndef HAVE_CYGWIN 71#ifndef HAVE_CYGWIN
70 if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_YES) 72 if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_YES)