summaryrefslogtreecommitdiff
path: root/auth-passwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-passwd.c')
-rw-r--r--auth-passwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-passwd.c b/auth-passwd.c
index 2e5fbc73a..fb14f5ce4 100644
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -36,7 +36,7 @@
36 */ 36 */
37 37
38#include "includes.h" 38#include "includes.h"
39RCSID("$OpenBSD: auth-passwd.c,v 1.32 2005/01/21 08:32:02 otto Exp $"); 39RCSID("$OpenBSD: auth-passwd.c,v 1.33 2005/01/24 11:47:13 dtucker Exp $");
40 40
41#include "packet.h" 41#include "packet.h"
42#include "buffer.h" 42#include "buffer.h"
@@ -131,7 +131,7 @@ warn_expiry(Authctxt *authctxt, auth_session_t *as)
131 131
132 pwtimeleft = auth_check_change(as); 132 pwtimeleft = auth_check_change(as);
133 actimeleft = auth_check_expire(as); 133 actimeleft = auth_check_expire(as);
134#if HAVE_LOGIN_CAP 134#ifdef HAVE_LOGIN_CAP
135 if (authctxt->valid) { 135 if (authctxt->valid) {
136 pwwarntime = login_getcaptime(lc, "password-warn", TWO_WEEKS, 136 pwwarntime = login_getcaptime(lc, "password-warn", TWO_WEEKS,
137 TWO_WEEKS); 137 TWO_WEEKS);