From dff5099f13e2e679b93d3cfe7073c9cd92b19b06 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 22 Jan 2002 23:16:32 +1100 Subject: - markus@cvs.openbsd.org 2001/12/28 14:50:54 [auth1.c auth-rsa.c channels.c dispatch.c kex.c kexdh.c kexgex.c packet.c packet.h serverloop.c session.c ssh.c sshconnect1.c sshconnect2.c sshd.c] packet_read* no longer return the packet length, since it's not used. --- kex.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'kex.c') diff --git a/kex.c b/kex.c index e4163214..139a509c 100644 --- a/kex.c +++ b/kex.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: kex.c,v 1.39 2001/12/28 12:14:27 markus Exp $"); +RCSID("$OpenBSD: kex.c,v 1.40 2001/12/28 14:50:54 markus Exp $"); #include @@ -125,8 +125,6 @@ kex_clear_dispatch(void) void kex_finish(Kex *kex) { - int plen; - kex_clear_dispatch(); packet_start(SSH2_MSG_NEWKEYS); @@ -135,7 +133,7 @@ kex_finish(Kex *kex) debug("SSH2_MSG_NEWKEYS sent"); debug("waiting for SSH2_MSG_NEWKEYS"); - packet_read_expect(&plen, SSH2_MSG_NEWKEYS); + packet_read_expect(SSH2_MSG_NEWKEYS); debug("SSH2_MSG_NEWKEYS received"); kex->done = 1; -- cgit v1.2.3