[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.43 and 1.44

version 1.43, 2002/01/25 22:07:40 version 1.44, 2002/02/11 16:10:15
Line 113 
Line 113 
 }  }
   
 static void  static void
 kex_clear_dispatch(void)  kex_reset_dispatch(void)
 {  {
         dispatch_range(SSH2_MSG_TRANSPORT_MIN,          dispatch_range(SSH2_MSG_TRANSPORT_MIN,
             SSH2_MSG_TRANSPORT_MAX, &kex_protocol_error);              SSH2_MSG_TRANSPORT_MAX, &kex_protocol_error);
           dispatch_set(SSH2_MSG_KEXINIT, &kex_input_kexinit);
 }  }
   
 void  void
 kex_finish(Kex *kex)  kex_finish(Kex *kex)
 {  {
         kex_clear_dispatch();          kex_reset_dispatch();
   
         packet_start(SSH2_MSG_NEWKEYS);          packet_start(SSH2_MSG_NEWKEYS);
         packet_send();          packet_send();
Line 200 
Line 201 
         kex->done = 0;          kex->done = 0;
   
         kex_send_kexinit(kex);                                  /* we start */          kex_send_kexinit(kex);                                  /* we start */
         kex_clear_dispatch();          kex_reset_dispatch();
         dispatch_set(SSH2_MSG_KEXINIT, &kex_input_kexinit);  
   
         return kex;          return kex;
 }  }

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44