userinfo-passwd.c revision 5254d77805cd35b9356d072ba325c356c43b0d51
/*
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"
{
}
{
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