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)
downloadopenssh-git-e35bf12eebca0c3ca248dca4c04bff83b9c475a1.tar.gz
- (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 da247df7..7a68e056 100644
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -64,7 +64,9 @@ auth_password(Authctxt *authctxt, const char *password)
{
struct passwd * pw = authctxt->pw;
int ok = authctxt->valid;
+#if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE)
static int expire_checked = 0;
+#endif
#ifndef HAVE_CYGWIN
if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_YES)