[Pkg-shadow-commits] r2592 - in upstream/trunk: . libmisc

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Sun Apr 5 22:02:01 UTC 2009


Author: nekral-guest
Date: 2009-04-05 22:02:00 +0000 (Sun, 05 Apr 2009)
New Revision: 2592

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/libmisc/isexpired.c
Log:
	* 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.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2009-04-05 21:56:37 UTC (rev 2591)
+++ upstream/trunk/ChangeLog	2009-04-05 22:02:00 UTC (rev 2592)
@@ -1,5 +1,11 @@
 2009-04-05  Nicolas François  <nicolas.francois at 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 at centraliens.net>
+
 	* man/usermod.8.xml: Split some paragraphs into smaller units.
 
 2009-04-05  Nicolas François  <nicolas.francois at centraliens.net>

Modified: upstream/trunk/libmisc/isexpired.c
===================================================================
--- upstream/trunk/libmisc/isexpired.c	2009-04-05 21:56:37 UTC (rev 2591)
+++ upstream/trunk/libmisc/isexpired.c	2009-04-05 22:02:00 UTC (rev 2592)
@@ -66,7 +66,7 @@
 	now = (long) time ((time_t *) 0) / SCALE;
 
 	if (NULL == sp) {
-		sp = pwd_to_spwd (pw);
+		return 0;
 	}
 
 	/*




More information about the Pkg-shadow-commits mailing list