ssh_packet_send2() needs to queue pkts until initial kex is done.

fixes ssh-proxy w/ dropbear client
This commit is contained in:
Markus Friedl
2012-02-08 20:30:56 +01:00
parent eddb17399b
commit 57cc6bbbe5

View File

@@ -230,6 +230,11 @@ ssh_alloc_session_state(void)
state->p_send.packets = state->p_read.packets = 0;
state->initialized = 1;
}
/*
* ssh_packet_send2() needs to queue packets until
* we've done the initial key exchange.
*/
state->rekeying = 1;
return ssh;
fail:
if (state->input)