diff options
author | Damien Miller <djm@mindrot.org> | 2019-01-20 10:22:18 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-01-20 10:22:18 +1100 |
commit | 3f0786bbe73609ac96e5a0d91425ee21129f8e04 (patch) | |
tree | be9ab562ad56a3948fee1f27fc9a13e4700b3661 /monitor.c | |
parent | 08f66d9f17e12c1140d1f1cf5c4dce67e915d3cc (diff) |
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) | |||
991 | if (!options.use_pam) | 991 | if (!options.use_pam) |
992 | fatal("UsePAM not set, but ended up in %s anyway", __func__); | 992 | fatal("UsePAM not set, but ended up in %s anyway", __func__); |
993 | 993 | ||
994 | start_pam(authctxt); | 994 | start_pam(ssh); |
995 | 995 | ||
996 | monitor_permit(mon_dispatch, MONITOR_REQ_PAM_ACCOUNT, 1); | 996 | monitor_permit(mon_dispatch, MONITOR_REQ_PAM_ACCOUNT, 1); |
997 | if (options.kbd_interactive_authentication) | 997 | if (options.kbd_interactive_authentication) |