diff options
author | Damien Miller <djm@mindrot.org> | 2019-01-20 00:22:18 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-01-20 00:22:18 +0100 |
commit | 3f0786bbe73609ac96e5a0d91425ee21129f8e04 (patch) | |
tree | be9ab562ad56a3948fee1f27fc9a13e4700b3661 /monitor.c | |
parent | remove vestiges of old packet API from loginrec.c (diff) | |
download | openssh-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |