]> andersk Git - openssh.git/blobdiff - auth-shadow.c
- djm@cvs.openbsd.org 2010/01/09 00:20:26
[openssh.git] / auth-shadow.c
index 66e8401f7c81ae507c944d4818c9c6ec99a3e51e..2190916776122d80e55a649b6bb5292ed510938f 100644 (file)
  */
 
 #include "includes.h"
-RCSID("$Id$");
 
 #if defined(USE_SHADOW) && defined(HAS_SHADOW_EXPIRE)
 #include <shadow.h>
+#include <stdarg.h>
+#include <string.h>
+#include <time.h>
 
+#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 */
This page took 0.04573 seconds and 4 git commands to generate.