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 /auth2.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 'auth2.c')
-rw-r--r-- | auth2.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -299,7 +299,7 @@ input_userauth_request(int type, u_int32_t seq, struct ssh *ssh) } #ifdef USE_PAM if (options.use_pam) - PRIVSEP(start_pam(authctxt)); + PRIVSEP(start_pam(ssh)); #endif ssh_packet_set_log_preamble(ssh, "%suser %s", authctxt->valid ? "authenticating " : "invalid ", user); |