mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 16:31:18 +01:00
Belatedly OpenPAMify. I forgot this patch in last night's megacommit.
Sponsored by: DARPA, NAI Labs
This commit is contained in:
parent
cf11f48256
commit
17e623ac97
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91745
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user