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 64f27a7bb..c2cd5b068 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshd.c,v 1.523 2019/01/19 21:37:48 djm Exp $ */ 1/* $OpenBSD: sshd.c,v 1.524 2019/01/19 21:38:24 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -2044,7 +2044,8 @@ main(int ac, char **av)
2044 /* perform the key exchange */ 2044 /* perform the key exchange */
2045 /* authenticate user and start session */ 2045 /* authenticate user and start session */
2046 do_ssh2_kex(); 2046 do_ssh2_kex();
2047 do_authentication2(authctxt); 2047 ssh->authctxt = authctxt;
2048 do_authentication2(ssh);
2048 2049
2049 /* 2050 /*
2050 * If we use privilege separation, the unprivileged child transfers 2051 * If we use privilege separation, the unprivileged child transfers