summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auth-pam.c12
-rw-r--r--auth-pam.h1
2 files changed, 0 insertions, 13 deletions
diff --git a/auth-pam.c b/auth-pam.c
index 7a14c89f4..7d8b2926b 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -951,18 +951,6 @@ do_pam_account(void)
951} 951}
952 952
953void 953void
954do_pam_set_tty(const char *tty)
955{
956 if (tty != NULL) {
957 debug("PAM: setting PAM_TTY to \"%s\"", tty);
958 sshpam_err = pam_set_item(sshpam_handle, PAM_TTY, tty);
959 if (sshpam_err != PAM_SUCCESS)
960 fatal("PAM: failed to set PAM_TTY: %s",
961 pam_strerror(sshpam_handle, sshpam_err));
962 }
963}
964
965void
966do_pam_setcred(int init) 954do_pam_setcred(int init)
967{ 955{
968 sshpam_err = pam_set_item(sshpam_handle, PAM_CONV, 956 sshpam_err = pam_set_item(sshpam_handle, PAM_CONV,
diff --git a/auth-pam.h b/auth-pam.h
index f9a3fbf43..c47b442e4 100644
--- a/auth-pam.h
+++ b/auth-pam.h
@@ -29,7 +29,6 @@ void start_pam(Authctxt *);
29void finish_pam(void); 29void finish_pam(void);
30u_int do_pam_account(void); 30u_int do_pam_account(void);
31void do_pam_session(void); 31void do_pam_session(void);
32void do_pam_set_tty(const char *);
33void do_pam_setcred(int ); 32void do_pam_setcred(int );
34void do_pam_chauthtok(void); 33void do_pam_chauthtok(void);
35int do_pam_putenv(char *, char *); 34int do_pam_putenv(char *, char *);