mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-13 13:44:36 +00:00
22e22bf9ba
to fix NULL pointer deref and fake authloop breakage in PAM code.
20 lines
573 B
C
20 lines
573 B
C
#include "includes.h"
|
|
#ifdef USE_PAM
|
|
|
|
#include <pwd.h> /* For struct passwd */
|
|
|
|
void start_pam(const char *user);
|
|
void finish_pam(void);
|
|
int auth_pam_password(struct passwd *pw, const char *password);
|
|
char **fetch_pam_environment(void);
|
|
int do_pam_authenticate(int flags);
|
|
int do_pam_account(char *username, char *remote_user);
|
|
void do_pam_session(char *username, const char *ttyname);
|
|
void do_pam_setcred(void);
|
|
void print_pam_messages(void);
|
|
int pam_password_change_required(void);
|
|
void do_pam_chauthtok(void);
|
|
void pam_set_conv(struct pam_conv *);
|
|
|
|
#endif /* USE_PAM */
|