summaryrefslogtreecommitdiffstats
path: root/monitor.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2019-01-20 00:22:18 +0100
committerDamien Miller <djm@mindrot.org>2019-01-20 00:22:18 +0100
commit3f0786bbe73609ac96e5a0d91425ee21129f8e04 (patch)
treebe9ab562ad56a3948fee1f27fc9a13e4700b3661 /monitor.c
parentremove vestiges of old packet API from loginrec.c (diff)
downloadopenssh-3f0786bbe73609ac96e5a0d91425ee21129f8e04.tar.xz
openssh-3f0786bbe73609ac96e5a0d91425ee21129f8e04.zip
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 1dcf930d4..5fa30b2a8 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)