summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2019-01-20 09:44:53 +1100
committerDamien Miller <djm@mindrot.org>2019-01-20 09:44:53 +1100
commit5ebce136a6105f084db8f0d7ee41981d42daec40 (patch)
treea7c2fb307a78450449d165ed734980bd643b5e5f /sshd.c
parent172a592a53ebe8649c4ac0d7946e6c08eb151af6 (diff)
upstream: convert auth2.c to new packet API
OpenBSD-Commit-ID: ed831bb95ad228c6791bc18b60ce7a2edef2c999
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sshd.c b/sshd.c
index 64f27a7b..c2cd5b06 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshd.c,v 1.523 2019/01/19 21:37:48 djm Exp $ */
+/* $OpenBSD: sshd.c,v 1.524 2019/01/19 21:38:24 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -2044,7 +2044,8 @@ main(int ac, char **av)
/* perform the key exchange */
/* authenticate user and start session */
do_ssh2_kex();
- do_authentication2(authctxt);
+ ssh->authctxt = authctxt;
+ do_authentication2(ssh);
/*
* If we use privilege separation, the unprivileged child transfers