summaryrefslogtreecommitdiff
path: root/serverloop.c
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2015-01-19 20:16:15 +0000
committerDamien Miller <djm@mindrot.org>2015-01-20 09:19:39 +1100
commit57d10cbe861a235dd269c74fb2fe248469ecee9d (patch)
treec65deed24700490bd3b20300c4829d4d5466ff6d /serverloop.c
parent3fdc88a0def4f86aa88a5846ac079dc964c0546a (diff)
upstream commit
adapt kex to sshbuf and struct ssh; ok djm@
Diffstat (limited to 'serverloop.c')
-rw-r--r--serverloop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/serverloop.c b/serverloop.c
index edf6a813f..83a1e010d 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: serverloop.c,v 1.174 2015/01/19 20:07:45 markus Exp $ */ 1/* $OpenBSD: serverloop.c,v 1.175 2015/01/19 20:16:15 markus 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
@@ -544,7 +544,7 @@ drain_output(void)
544static void 544static void
545process_buffered_input_packets(void) 545process_buffered_input_packets(void)
546{ 546{
547 dispatch_run(DISPATCH_NONBLOCK, NULL, compat20 ? active_state->kex : NULL); 547 dispatch_run(DISPATCH_NONBLOCK, NULL, active_state);
548} 548}
549 549
550/* 550/*
@@ -874,7 +874,7 @@ server_loop2(Authctxt *authctxt)
874 if (packet_need_rekeying()) { 874 if (packet_need_rekeying()) {
875 debug("need rekeying"); 875 debug("need rekeying");
876 active_state->kex->done = 0; 876 active_state->kex->done = 0;
877 kex_send_kexinit(active_state->kex); 877 kex_send_kexinit(active_state);
878 } 878 }
879 } 879 }
880 process_input(readset); 880 process_input(readset);