* 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

@ -1,3 +1,9 @@
2009-04-05 Nicolas François <nicolas.francois@centraliens.net>
* 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.
2009-04-05 Nicolas François <nicolas.francois@centraliens.net> 2009-04-05 Nicolas François <nicolas.francois@centraliens.net>
* man/usermod.8.xml: Split some paragraphs into smaller units. * man/usermod.8.xml: Split some paragraphs into smaller units.

View File

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