summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2019-01-20 09:58:45 +1100
committerDamien Miller <djm@mindrot.org>2019-01-20 09:58:45 +1100
commit08f66d9f17e12c1140d1f1cf5c4dce67e915d3cc (patch)
tree70cb70df407096b8ff095d683b4f202f5e18653e /auth2.c
parentc327813ea1d740e3e367109c17873815aba1328e (diff)
remove vestiges of old packet API from loginrec.c
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/auth2.c b/auth2.c
index 1f023e8b1..2e996fa59 100644
--- a/auth2.c
+++ b/auth2.c
@@ -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);