diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2001-12-20 22:50:25 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2001-12-20 22:50:25 +0000 |
commit | 875417685ffbf9ef3667e81f8ec081b7b96d87cd (patch) | |
tree | d6f42453f78135d603cfc33f5025a66d6e000245 /usr.bin/ssh/kex.c | |
parent | 918eee0e34df8e238e143e796dfd151aac893609 (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.c | 6 |
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; |