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

Diff for /src/usr.bin/ssh/clientloop.c between version 1.53 and 1.54

version 1.53, 2001/03/06 01:08:27 version 1.54, 2001/04/04 00:06:53
Line 73 
Line 73 
 #include "buffer.h"  #include "buffer.h"
 #include "bufaux.h"  #include "bufaux.h"
 #include "key.h"  #include "key.h"
   #include "kex.h"
 #include "log.h"  #include "log.h"
 #include "readconf.h"  #include "readconf.h"
 #include "clientloop.h"  #include "clientloop.h"
Line 130 
Line 131 
 void    client_init_dispatch(void);  void    client_init_dispatch(void);
 int     session_ident = -1;  int     session_ident = -1;
   
   /*XXX*/
   extern Kex *xxx_kex;
   
 /* Returns the user\'s terminal to normal mode if it had been put in raw mode. */  /* Returns the user\'s terminal to normal mode if it had been put in raw mode. */
   
 void  void
Line 548 
Line 552 
                                 /* We have been continued. */                                  /* We have been continued. */
                                 continue;                                  continue;
   
                           case 'R':
                                   debug("Rekeying");
                                   kex_send_kexinit(xxx_kex);
                                   continue;
   
                         case '&':                          case '&':
                                 /* XXX does not work yet with proto 2 */                                  /* XXX does not work yet with proto 2 */
                                 if (compat20)                                  if (compat20)
Line 762 
Line 771 
 void  void
 client_process_buffered_input_packets(void)  client_process_buffered_input_packets(void)
 {  {
         dispatch_run(DISPATCH_NONBLOCK, &quit_pending, NULL);          dispatch_run(DISPATCH_NONBLOCK, &quit_pending, compat20 ? xxx_kex : NULL);
 }  }
   
 /* scan buf[] for '~' before sending data to the peer */  /* scan buf[] for '~' before sending data to the peer */
Line 1196 
Line 1205 
 void  void
 client_init_dispatch_20(void)  client_init_dispatch_20(void)
 {  {
         dispatch_init(&dispatch_protocol_error);          int i;
           /* dispatch_init(&dispatch_protocol_error); */
           for (i = 50; i <= 254; i++)
                   dispatch_set(i, &dispatch_protocol_error);
         dispatch_set(SSH2_MSG_CHANNEL_CLOSE, &channel_input_oclose);          dispatch_set(SSH2_MSG_CHANNEL_CLOSE, &channel_input_oclose);
         dispatch_set(SSH2_MSG_CHANNEL_DATA, &channel_input_data);          dispatch_set(SSH2_MSG_CHANNEL_DATA, &channel_input_data);
         dispatch_set(SSH2_MSG_CHANNEL_EOF, &channel_input_ieof);          dispatch_set(SSH2_MSG_CHANNEL_EOF, &channel_input_ieof);

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54