Belatedly OpenPAMify. I forgot this patch in last night's megacommit.

Sponsored by:	DARPA, NAI Labs
This commit is contained in:
Dag-Erling Smørgrav 2002-03-06 12:46:56 +00:00
parent cf11f48256
commit 17e623ac97
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91745

View File

@ -65,7 +65,7 @@ static const char rcsid[] =
#include <unistd.h>
#include <security/pam_appl.h>
#include <security/pam_misc.h>
#include <security/openpam.h>
#define PAM_END() do { \
int local_ret; \
@ -111,7 +111,7 @@ int
main(int argc, char *argv[])
{
struct passwd *pwd;
struct pam_conv conv = {misc_conv, NULL};
struct pam_conv conv = { openpam_ttyconv, NULL };
enum tristate iscsh;
login_cap_t *lc;
union {