diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | auth2-pam.c | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -6,6 +6,8 @@ | |||
6 | - (djm) Fix autoconf logic for --with-lastlog=no Report and diagnosis from | 6 | - (djm) Fix autoconf logic for --with-lastlog=no Report and diagnosis from |
7 | Philipp Buehler <lists@fips.de> and Kevin Steves <stevesk@sweden.hp.com> | 7 | Philipp Buehler <lists@fips.de> and Kevin Steves <stevesk@sweden.hp.com> |
8 | respectively. | 8 | respectively. |
9 | - (djm) Don't log SSH2 PAM KbdInt responses to debug, they may contain | ||
10 | passwords. | ||
9 | 11 | ||
10 | 20000130 | 12 | 20000130 |
11 | - (djm) OpenBSD CVS Sync: | 13 | - (djm) OpenBSD CVS Sync: |
diff --git a/auth2-pam.c b/auth2-pam.c index c54ad31a2..d7a5ff7a4 100644 --- a/auth2-pam.c +++ b/auth2-pam.c | |||
@@ -1,5 +1,5 @@ | |||
1 | #include "includes.h" | 1 | #include "includes.h" |
2 | RCSID("$Id: auth2-pam.c,v 1.6 2001/01/22 05:34:40 mouring Exp $"); | 2 | RCSID("$Id: auth2-pam.c,v 1.7 2001/01/30 23:50:49 djm Exp $"); |
3 | 3 | ||
4 | #ifdef USE_PAM | 4 | #ifdef USE_PAM |
5 | #include <security/pam_appl.h> | 5 | #include <security/pam_appl.h> |
@@ -152,7 +152,6 @@ input_userauth_info_response_pam(int type, int plen, void *ctxt) | |||
152 | for (i = 0; i < nresp; i++) { | 152 | for (i = 0; i < nresp; i++) { |
153 | int j = context_pam2.prompts[i]; | 153 | int j = context_pam2.prompts[i]; |
154 | resp = packet_get_string(&rlen); | 154 | resp = packet_get_string(&rlen); |
155 | debug("response ssh-%d(pam-%d) = \"%s\"", i, j, resp); | ||
156 | context_pam2.responses[j].resp_retcode = PAM_SUCCESS; | 155 | context_pam2.responses[j].resp_retcode = PAM_SUCCESS; |
157 | context_pam2.responses[j].resp = xstrdup(resp); | 156 | context_pam2.responses[j].resp = xstrdup(resp); |
158 | xfree(resp); | 157 | xfree(resp); |