summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/kex.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2001-12-20 22:50:25 +0000
committerDamien Miller <djm@cvs.openbsd.org>2001-12-20 22:50:25 +0000
commit875417685ffbf9ef3667e81f8ec081b7b96d87cd (patch)
treed6f42453f78135d603cfc33f5025a66d6e000245 /usr.bin/ssh/kex.c
parent918eee0e34df8e238e143e796dfd151aac893609 (diff)
Conformance fix: we should send failing packet sequence number when
responding with a SSH_MSG_UNIMPLEMENTED message. Spotted by yakk@yakk.dot.net; ok markus@
Diffstat (limited to 'usr.bin/ssh/kex.c')
-rw-r--r--usr.bin/ssh/kex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/kex.c b/usr.bin/ssh/kex.c
index 658da6d8afe..8e3d83befde 100644
--- a/usr.bin/ssh/kex.c
+++ b/usr.bin/ssh/kex.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: kex.c,v 1.37 2001/12/05 10:06:12 deraadt Exp $");
+RCSID("$OpenBSD: kex.c,v 1.38 2001/12/20 22:50:24 djm Exp $");
#include <openssl/crypto.h>
@@ -107,7 +107,7 @@ kex_prop_free(char **proposal)
}
static void
-kex_protocol_error(int type, int plen, void *ctxt)
+kex_protocol_error(int type, int plen, u_int32_t seq, void *ctxt)
{
error("Hm, kex protocol error: type %d plen %d", type, plen);
}
@@ -166,7 +166,7 @@ kex_send_kexinit(Kex *kex)
}
void
-kex_input_kexinit(int type, int plen, void *ctxt)
+kex_input_kexinit(int type, int plen, u_int32_t seq, void *ctxt)
{
char *ptr;
int dlen;