Index: auth-shadow.c
===================================================================
RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/auth-shadow.c,v
retrieving revision 1.5
diff -u -p -r1.5 auth-shadow.c
--- auth-shadow.c	21 Feb 2004 23:22:05 -0000	1.5
+++ auth-shadow.c	5 Jul 2004 07:17:23 -0000
@@ -57,7 +57,7 @@ auth_shadow_acctexpired(struct spwd *spw
 	debug3("%s: today %d sp_expire %d days left %d", __func__, (int)today,
 	    (int)spw->sp_expire, daysleft);
 
-	if (spw->sp_expire == -1) {
+	if (spw->sp_expire == -1 || spw->sp_expire == 0) {
 		debug3("account expiration disabled");
 	} else if (daysleft < 0) {
 		logit("Account %.100s has expired", spw->sp_namp);
