diff options
author | Damien Miller <djm@mindrot.org> | 2001-12-21 15:00:19 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-12-21 15:00:19 +1100 |
commit | 278f907a2d6d00d6f52a11bf9577648aadbf0994 (patch) | |
tree | 50f885a7fd73b813754e3b675e810dc01ba78b78 /kex.c | |
parent | e737856350287104a12f5a97c81fad1f7bcd7096 (diff) |
- djm@cvs.openbsd.org 2001/12/20 22:50:24
[auth2.c auth2-chall.c channels.c channels.h clientloop.c dispatch.c]
[dispatch.h kex.c kex.h packet.c packet.h serverloop.c ssh.c]
[sshconnect2.c]
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 'kex.c')
-rw-r--r-- | kex.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: kex.c,v 1.37 2001/12/05 10:06:12 deraadt Exp $"); | 26 | RCSID("$OpenBSD: kex.c,v 1.38 2001/12/20 22:50:24 djm Exp $"); |
27 | 27 | ||
28 | #include <openssl/crypto.h> | 28 | #include <openssl/crypto.h> |
29 | 29 | ||
@@ -107,7 +107,7 @@ kex_prop_free(char **proposal) | |||
107 | } | 107 | } |
108 | 108 | ||
109 | static void | 109 | static void |
110 | kex_protocol_error(int type, int plen, void *ctxt) | 110 | kex_protocol_error(int type, int plen, u_int32_t seq, void *ctxt) |
111 | { | 111 | { |
112 | error("Hm, kex protocol error: type %d plen %d", type, plen); | 112 | error("Hm, kex protocol error: type %d plen %d", type, plen); |
113 | } | 113 | } |
@@ -166,7 +166,7 @@ kex_send_kexinit(Kex *kex) | |||
166 | } | 166 | } |
167 | 167 | ||
168 | void | 168 | void |
169 | kex_input_kexinit(int type, int plen, void *ctxt) | 169 | kex_input_kexinit(int type, int plen, u_int32_t seq, void *ctxt) |
170 | { | 170 | { |
171 | char *ptr; | 171 | char *ptr; |
172 | int dlen; | 172 | int dlen; |