=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/kex.c,v retrieving revision 1.51.2.1 retrieving revision 1.51.2.2 diff -u -r1.51.2.1 -r1.51.2.2 --- src/usr.bin/ssh/kex.c 2003/04/01 00:12:13 1.51.2.1 +++ src/usr.bin/ssh/kex.c 2003/04/03 23:27:12 1.51.2.2 @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: kex.c,v 1.51.2.1 2003/04/01 00:12:13 margarida Exp $"); +RCSID("$OpenBSD: kex.c,v 1.51.2.2 2003/04/03 23:27:12 margarida Exp $"); #include @@ -392,7 +392,8 @@ kex->we_need = need; /* 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)) { type = packet_read(); debug2("skipping next packet (type %u)", type); }