diff --git a/ssh/transport2.c b/ssh/transport2.c index 62ad6ffd..ce6318aa 100644 --- a/ssh/transport2.c +++ b/ssh/transport2.c @@ -1375,7 +1375,7 @@ static void ssh2_transport_process_queue(PacketProtocolLayer *ppl) * Construct our KEXINIT packet, in a strbuf so we can refer to it * later. */ - strbuf_clear(s->client_kexinit); + strbuf_clear(s->outgoing_kexinit); put_byte(s->outgoing_kexinit, SSH2_MSG_KEXINIT); random_read(strbuf_append(s->outgoing_kexinit, 16), 16); ssh2_write_kexinit_lists(