summaryrefslogtreecommitdiffstats
path: root/kex.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-01-22 23:17:30 +1100
committerDamien Miller <djm@mindrot.org>2002-01-22 23:17:30 +1100
commit630d6f4479df4084ef05ce233c11e66c68a98a4f (patch)
tree27dc26ac3fd5bb1131ca39187899dfe2494117c4 /kex.c
parentdff5099f13e2e679b93d3cfe7073c9cd92b19b06 (diff)
- markus@cvs.openbsd.org 2001/12/28 15:06:00
[auth2.c auth2-chall.c channels.c channels.h clientloop.c dispatch.c dispatch.h kex.c kex.h serverloop.c ssh.c sshconnect2.c] remove plen from the dispatch fn. it's no longer used.
Diffstat (limited to 'kex.c')
-rw-r--r--kex.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kex.c b/kex.c
index 139a509c..255cc743 100644
--- a/kex.c
+++ b/kex.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: kex.c,v 1.40 2001/12/28 14:50:54 markus Exp $");
+RCSID("$OpenBSD: kex.c,v 1.41 2001/12/28 15:06:00 markus Exp $");
#include <openssl/crypto.h>
@@ -107,9 +107,9 @@ kex_prop_free(char **proposal)
}
static void
-kex_protocol_error(int type, int plen, u_int32_t seq, void *ctxt)
+kex_protocol_error(int type, u_int32_t seq, void *ctxt)
{
- error("Hm, kex protocol error: type %d plen %d", type, plen);
+ error("Hm, kex protocol error: type %d seq %u", type, seq);
}
static void
@@ -164,7 +164,7 @@ kex_send_kexinit(Kex *kex)
}
void
-kex_input_kexinit(int type, int plen, u_int32_t seq, void *ctxt)
+kex_input_kexinit(int type, u_int32_t seq, void *ctxt)
{
char *ptr;
int dlen;