diff options
Diffstat (limited to 'auth-pam.c')
-rw-r--r-- | auth-pam.c | 12 |
1 files changed, 0 insertions, 12 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 | ||
953 | void | 953 | void |
954 | do_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 | |||
965 | void | ||
966 | do_pam_setcred(int init) | 954 | do_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, |