summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-04 17:57:54 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-04 17:57:54 +0000
commit8ac9106c3dfbc1f02ddf237067cccd54ffac4e8d (patch)
treef7ec941db419252643adbf7a1b13895c92bca0d9 /clientloop.c
parent238abf6a14d6ed038918fa35f618089230e68fd6 (diff)
- markus@cvs.openbsd.org 2001/04/04 14:34:58
[clientloop.c kex.c kex.h serverloop.c sshconnect2.c sshd.c] enable server side rekeying + some rekey related clientup. todo: we should not send any non-KEX messages after we send KEXINIT
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/clientloop.c b/clientloop.c
index 1ed245e22..1d09a8dd9 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -59,7 +59,7 @@
59 */ 59 */
60 60
61#include "includes.h" 61#include "includes.h"
62RCSID("$OpenBSD: clientloop.c,v 1.54 2001/04/04 00:06:53 markus Exp $"); 62RCSID("$OpenBSD: clientloop.c,v 1.55 2001/04/04 14:34:58 markus Exp $");
63 63
64#include "ssh.h" 64#include "ssh.h"
65#include "ssh1.h" 65#include "ssh1.h"
@@ -1205,10 +1205,7 @@ client_input_channel_req(int type, int plen, void *ctxt)
1205void 1205void
1206client_init_dispatch_20(void) 1206client_init_dispatch_20(void)
1207{ 1207{
1208 int i; 1208 dispatch_init(&dispatch_protocol_error);
1209 /* dispatch_init(&dispatch_protocol_error); */
1210 for (i = 50; i <= 254; i++)
1211 dispatch_set(i, &dispatch_protocol_error);
1212 dispatch_set(SSH2_MSG_CHANNEL_CLOSE, &channel_input_oclose); 1209 dispatch_set(SSH2_MSG_CHANNEL_CLOSE, &channel_input_oclose);
1213 dispatch_set(SSH2_MSG_CHANNEL_DATA, &channel_input_data); 1210 dispatch_set(SSH2_MSG_CHANNEL_DATA, &channel_input_data);
1214 dispatch_set(SSH2_MSG_CHANNEL_EOF, &channel_input_ieof); 1211 dispatch_set(SSH2_MSG_CHANNEL_EOF, &channel_input_ieof);
@@ -1218,6 +1215,9 @@ client_init_dispatch_20(void)
1218 dispatch_set(SSH2_MSG_CHANNEL_OPEN_FAILURE, &channel_input_open_failure); 1215 dispatch_set(SSH2_MSG_CHANNEL_OPEN_FAILURE, &channel_input_open_failure);
1219 dispatch_set(SSH2_MSG_CHANNEL_REQUEST, &client_input_channel_req); 1216 dispatch_set(SSH2_MSG_CHANNEL_REQUEST, &client_input_channel_req);
1220 dispatch_set(SSH2_MSG_CHANNEL_WINDOW_ADJUST, &channel_input_window_adjust); 1217 dispatch_set(SSH2_MSG_CHANNEL_WINDOW_ADJUST, &channel_input_window_adjust);
1218
1219 /* rekeying */
1220 dispatch_set(SSH2_MSG_KEXINIT, &kex_input_kexinit);
1221} 1221}
1222void 1222void
1223client_init_dispatch_13(void) 1223client_init_dispatch_13(void)