[BACK]Return to kex.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/kex.c between version 1.55 and 1.56

version 1.55, 2003/04/01 10:31:26 version 1.56, 2003/11/21 11:57:03
Line 310 
Line 310 
         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[] = {
Line 392 
Line 392 
         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);

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56