X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/blobdiff_plain/cdd66111973295c976f1a0bb57f571eba0513757..HEAD:/openssh/auth-shadow.c diff --git a/openssh/auth-shadow.c b/openssh/auth-shadow.c index 66e8401..2190916 100644 --- a/openssh/auth-shadow.c +++ b/openssh/auth-shadow.c @@ -23,15 +23,22 @@ */ #include "includes.h" -RCSID("$Id$"); #if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE) #include +#include +#include +#include +#include "key.h" +#include "hostfile.h" #include "auth.h" #include "buffer.h" #include "log.h" +#ifdef DAY +# undef DAY +#endif #define DAY (24L * 60 * 60) /* 1 day in seconds */ extern Buffer loginmsg; @@ -98,7 +105,7 @@ auth_shadow_pwexpired(Authctxt *ctxt) #if defined(__hpux) && !defined(HAVE_SECUREWARE) if (iscomsec()) { struct pr_passwd *pr; - + pr = getprpwnam((char *)user); /* Test for Trusted Mode expiry disabled */