version 1.55, 2003/04/01 10:31:26 |
version 1.56, 2003/11/21 11:57:03 |
|
|
xfree(hostkeyalg); |
xfree(hostkeyalg); |
} |
} |
|
|
static int |
static int |
proposals_match(char *my[PROPOSAL_MAX], char *peer[PROPOSAL_MAX]) |
proposals_match(char *my[PROPOSAL_MAX], char *peer[PROPOSAL_MAX]) |
{ |
{ |
static int check[] = { |
static int check[] = { |
|
|
kex->we_need = need; |
kex->we_need = need; |
|
|
/* ignore the next message if the proposals do not match */ |
/* ignore the next message if the proposals do not match */ |
if (first_kex_follows && !proposals_match(my, peer) && |
if (first_kex_follows && !proposals_match(my, peer) && |
!(datafellows & SSH_BUG_FIRSTKEX)) { |
!(datafellows & SSH_BUG_FIRSTKEX)) { |
type = packet_read(); |
type = packet_read(); |
debug2("skipping next packet (type %u)", type); |
debug2("skipping next packet (type %u)", type); |