summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-02-22 09:43:15 +1100
committerDarren Tucker <dtucker@zip.com.au>2004-02-22 09:43:15 +1100
commit15ee748f2835f301499f8c31b6b4e56f5deca7de (patch)
tree513b99b8e7fcbaf90a7444bfb6ab47b86d90025d /auth.h
parent2e45cb0fb4a1250792e27ce14c556661719e5861 (diff)
downloadopenssh-git-15ee748f2835f301499f8c31b6b4e56f5deca7de.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