From f3bb4341777eb44df1ca7db0d574f849821a186c Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Thu, 31 Mar 2005 21:39:25 +1000 Subject: - (dtucker) [auth.h sshd.c openbsd-compat/port-aix.c] Bug #1006: fix bug in handling of password expiry messages returned by AIX's authentication routines, originally reported by robvdwal at sara.nl. --- auth.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'auth.h') diff --git a/auth.h b/auth.h index 8d1f9340..471404e4 100644 --- a/auth.h +++ b/auth.h @@ -30,6 +30,7 @@ #include "key.h" #include "hostfile.h" +#include "buffer.h" #include #ifdef HAVE_LOGIN_CAP @@ -68,6 +69,7 @@ struct Authctxt { char *krb5_ticket_file; char *krb5_ccname; #endif + Buffer *loginmsg; void *methoddata; }; /* @@ -185,6 +187,8 @@ void auth_debug_reset(void); struct passwd *fakepw(void); +int sys_auth_passwd(Authctxt *, const char *); + #define AUTH_FAIL_MSG "Too many authentication failures for %.100s" #define SKEY_PROMPT "\nS/Key Password: " -- cgit v1.2.3