summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2019-01-20 10:22:18 +1100
committerDamien Miller <djm@mindrot.org>2019-01-20 10:22:18 +1100
commit3f0786bbe73609ac96e5a0d91425ee21129f8e04 (patch)
treebe9ab562ad56a3948fee1f27fc9a13e4700b3661 /monitor.c
parent08f66d9f17e12c1140d1f1cf5c4dce67e915d3cc (diff)
downloadopenssh-git-3f0786bbe73609ac96e5a0d91425ee21129f8e04.tar.gz
remove PAM dependencies on old packet API
Requires some caching of values, because the PAM code isn't always called with packet context.
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index 1dcf930d..5fa30b2a 100644
--- a/monitor.c
+++ b/monitor.c
@@ -991,7 +991,7 @@ mm_answer_pam_start(struct ssh *ssh, int sock, struct sshbuf *m)
if (!options.use_pam)
fatal("UsePAM not set, but ended up in %s anyway", __func__);
- start_pam(authctxt);
+ start_pam(ssh);
monitor_permit(mon_dispatch, MONITOR_REQ_PAM_ACCOUNT, 1);
if (options.kbd_interactive_authentication)