[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.111 and 1.112

version 1.111, 2015/10/13 00:21:27 version 1.112, 2015/11/13 04:39:35
Line 296 
Line 296 
 static int  static int
 kex_protocol_error(int type, u_int32_t seq, void *ctxt)  kex_protocol_error(int type, u_int32_t seq, void *ctxt)
 {  {
         error("Hm, kex protocol error: type %d seq %u", type, seq);          struct ssh *ssh = active_state; /* XXX */
           int r;
   
           error("kex protocol error: type %d seq %u", type, seq);
           if ((r = sshpkt_start(ssh, SSH2_MSG_UNIMPLEMENTED)) != 0 ||
               (r = sshpkt_put_u32(ssh, seq)) != 0 ||
               (r = sshpkt_send(ssh)) != 0)
                   return r;
         return 0;          return 0;
 }  }
   

Legend:
Removed from v.1.111  
changed lines
  Added in v.1.112