summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authordtucker <dtucker>2004-02-21 22:43:15 +0000
committerdtucker <dtucker>2004-02-21 22:43:15 +0000
commit5f14a219bf6c6bb6d8dd56a4bbafee0be8f44275 (patch)
treed58a5d61d089125ed801ae87c8acc1e5bb6d927c /auth.h
parentfef725619a9e2b7341a67954ea380c4a3c1bbae4 (diff)
downloadopenssh-5f14a219bf6c6bb6d8dd56a4bbafee0be8f44275.tar.gz
- (dtucker) [auth-shadow.c auth.c auth.h] Move shadow account expiry test
to auth-shadow.c, no functional change. ok djm@
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth.h b/auth.h
index b6a6a49a..a8f61f40 100644
--- a/auth.h
+++ b/auth.h
@@ -122,7 +122,8 @@ int auth_krb5_password(Authctxt *authctxt, const char *password);
void krb5_cleanup_proc(Authctxt *authctxt);
#endif /* KRB5 */
-#ifdef USE_SHADOW
+#if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE)
+int auth_shadow_acctexpired(struct spwd *);
int auth_shadow_pwexpired(Authctxt *);
#endif