* 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:
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user