Imported Upstream version 4.2

This commit is contained in:
Christian Perrier
2014-03-01 19:59:36 +01:00
parent db1dc7288b
commit 65b471a2f2
706 changed files with 46966 additions and 139295 deletions
+2 -1
View File
@@ -32,7 +32,7 @@
#include <config.h>
#ident "$Id: valid.c 3232 2010-08-22 19:13:53Z nekral-guest $"
#ident "$Id$"
#include <sys/types.h>
#include <stdio.h>
@@ -95,6 +95,7 @@ bool valid (const char *password, const struct passwd *ent)
*/
if ( (NULL != ent->pw_name)
&& (NULL != encrypted)
&& (strcmp (encrypted, ent->pw_passwd) == 0)) {
return true;
} else {