diff options
author | Damien Miller <djm@mindrot.org> | 2019-01-20 09:58:45 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-01-20 09:58:45 +1100 |
commit | 08f66d9f17e12c1140d1f1cf5c4dce67e915d3cc (patch) | |
tree | 70cb70df407096b8ff095d683b4f202f5e18653e /auth2.c | |
parent | c327813ea1d740e3e367109c17873815aba1328e (diff) |
remove vestiges of old packet API from loginrec.c
Diffstat (limited to 'auth2.c')
-rw-r--r-- | auth2.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -401,7 +401,10 @@ userauth_finish(struct ssh *ssh, int authenticated, const char *method, | |||
401 | fatal("%s: buffer error: %s", | 401 | fatal("%s: buffer error: %s", |
402 | __func__, ssh_err(r)); | 402 | __func__, ssh_err(r)); |
403 | userauth_send_banner(ssh, sshbuf_ptr(loginmsg)); | 403 | userauth_send_banner(ssh, sshbuf_ptr(loginmsg)); |
404 | packet_write_wait(); | 404 | if ((r = ssh_packet_write_wait(ssh)) != 0) { |
405 | sshpkt_fatal(ssh, r, | ||
406 | "%s: send PAM banner", __func__); | ||
407 | } | ||
405 | } | 408 | } |
406 | fatal("Access denied for user %s by PAM account " | 409 | fatal("Access denied for user %s by PAM account " |
407 | "configuration", authctxt->user); | 410 | "configuration", authctxt->user); |