* libmisc/isexpired.c: If there are no shadow entry, there is no

need to convert the password entry to a shadow entry. The password
	is valid.
This commit is contained in:
nekral-guest
2009-04-05 22:02:00 +00:00
parent f703b686da
commit 2a3b84b888
2 changed files with 7 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ int isexpired (const struct passwd *pw, const struct spwd *sp)
now = (long) time ((time_t *) 0) / SCALE;
if (NULL == sp) {
sp = pwd_to_spwd (pw);
return 0;
}
/*