userinfo-passwd.c revision 6abc464b8f5aac60ea635769e4bc0a64c0fb43c5
/*
Loosely based on auth_passwd.c from popa3d by
Solar Designer <solar@openwall.com>
Copyright (C) 2002 Timo Sirainen
*/
#include "config.h"
#ifdef USERINFO_PASSWD
#include "userinfo-passwd.h"
#include "mycrypt.h"
{
}
{
char *passdup;
int result;
return FALSE;
/* check if the password is valid */
/* clear the passwords from memory */
if (!result)
return FALSE;
/* password ok, save the user info */
return TRUE;
}
static void passwd_deinit(void)
{
endpwent();
}
NULL,
};
#endif