From: dtucker Date: Tue, 17 Feb 2004 09:46:59 +0000 (+0000) Subject: - (dtucker) [auth-pam.c] Tidy up PAM debugging. ok djm@ X-Git-Tag: V_3_8_P1~28 X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/commitdiff_plain/60922169f2be37510cf787028947da112eeb1144 - (dtucker) [auth-pam.c] Tidy up PAM debugging. ok djm@ --- diff --git a/ChangeLog b/ChangeLog index 93aa4381..e695dc60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ switch to license.template for code written by me (belated, I know...) - (djm) Bug #698: Specify FILE: for KRB5CCNAME; patch from stadal@suse.cz and simon@sxw.org.uk + - (dtucker) [auth-pam.c] Tidy up PAM debugging. ok djm@ 20040212 - (tim) [Makefile.in regress/sftp-badcmds.sh regress/test-exec.sh] diff --git a/auth-pam.c b/auth-pam.c index db72c642..27aacedc 100644 --- a/auth-pam.c +++ b/auth-pam.c @@ -242,7 +242,7 @@ sshpam_thread_conv(int n, const struct pam_message **msg, struct pam_response *reply; int i; - debug3("PAM: %s entering, %d responses", __func__, n); + debug3("PAM: %s entering, %d messages", __func__, n); *resp = NULL; ctxt = data; @@ -416,7 +416,7 @@ static int sshpam_null_conv(int n, const struct pam_message **msg, struct pam_response **resp, void *data) { - debug3("PAM: %s entering, %d responses", __func__, n); + debug3("PAM: %s entering, %d messages", __func__, n); return (PAM_CONV_ERR); } @@ -754,6 +754,8 @@ pam_tty_conv(int n, const struct pam_message **msg, struct pam_response *reply; int i; + debug3("PAM: %s called with %d messages", __func__, n); + *resp = NULL; if (n <= 0 || n > PAM_MAX_NUM_MSG || !isatty(STDIN_FILENO))