diff options
Diffstat (limited to 'kex.c')
-rw-r--r-- | kex.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |