diff options
-rw-r--r-- | monitor.c | 2 | ||||
-rw-r--r-- | monitor_wrap.c | 1 |
2 files changed, 0 insertions, 3 deletions
@@ -1127,9 +1127,7 @@ extern KbdintDevice sshpam_device; | |||
1127 | int | 1127 | int |
1128 | mm_answer_pam_init_ctx(int sock, Buffer *m) | 1128 | mm_answer_pam_init_ctx(int sock, Buffer *m) |
1129 | { | 1129 | { |
1130 | |||
1131 | debug3("%s", __func__); | 1130 | debug3("%s", __func__); |
1132 | authctxt->user = buffer_get_string(m, NULL); | ||
1133 | sshpam_ctxt = (sshpam_device.init_ctx)(authctxt); | 1131 | sshpam_ctxt = (sshpam_device.init_ctx)(authctxt); |
1134 | sshpam_authok = NULL; | 1132 | sshpam_authok = NULL; |
1135 | buffer_clear(m); | 1133 | buffer_clear(m); |
diff --git a/monitor_wrap.c b/monitor_wrap.c index 6ae72a03b..679991178 100644 --- a/monitor_wrap.c +++ b/monitor_wrap.c | |||
@@ -632,7 +632,6 @@ mm_sshpam_init_ctx(Authctxt *authctxt) | |||
632 | 632 | ||
633 | debug3("%s", __func__); | 633 | debug3("%s", __func__); |
634 | buffer_init(&m); | 634 | buffer_init(&m); |
635 | buffer_put_cstring(&m, authctxt->user); | ||
636 | mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PAM_INIT_CTX, &m); | 635 | mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PAM_INIT_CTX, &m); |
637 | debug3("%s: waiting for MONITOR_ANS_PAM_INIT_CTX", __func__); | 636 | debug3("%s: waiting for MONITOR_ANS_PAM_INIT_CTX", __func__); |
638 | mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_PAM_INIT_CTX, &m); | 637 | mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_PAM_INIT_CTX, &m); |