summaryrefslogtreecommitdiff
path: root/kex.c
diff options
context:
space:
mode:
Diffstat (limited to 'kex.c')
-rw-r--r--kex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kex.c b/kex.c
index c17d652c9..7ab72ba19 100644
--- a/kex.c
+++ b/kex.c
@@ -488,6 +488,7 @@ kex_input_kexinit(int type, u_int32_t seq, void *ctxt)
488 if (kex == NULL) 488 if (kex == NULL)
489 return SSH_ERR_INVALID_ARGUMENT; 489 return SSH_ERR_INVALID_ARGUMENT;
490 490
491 ssh_dispatch_set(ssh, SSH2_MSG_KEXINIT, NULL);
491 ptr = sshpkt_ptr(ssh, &dlen); 492 ptr = sshpkt_ptr(ssh, &dlen);
492 if ((r = sshbuf_put(kex->peer, ptr, dlen)) != 0) 493 if ((r = sshbuf_put(kex->peer, ptr, dlen)) != 0)
493 return r; 494 return r;