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

Diff for /src/usr.bin/ssh/packet.c between version 1.112 and 1.113

version 1.112, 2003/09/23 20:17:11 version 1.113, 2004/05/11 19:01:43
Line 154 
Line 154 
                 fatal("packet_set_connection: cannot load cipher 'none'");                  fatal("packet_set_connection: cannot load cipher 'none'");
         connection_in = fd_in;          connection_in = fd_in;
         connection_out = fd_out;          connection_out = fd_out;
         cipher_init(&send_context, none, "", 0, NULL, 0, CIPHER_ENCRYPT);          cipher_init(&send_context, none, (const u_char *)"",
         cipher_init(&receive_context, none, "", 0, NULL, 0, CIPHER_DECRYPT);              0, NULL, 0, CIPHER_ENCRYPT);
           cipher_init(&receive_context, none, (const u_char *)"",
               0, NULL, 0, CIPHER_DECRYPT);
         newkeys[MODE_IN] = newkeys[MODE_OUT] = NULL;          newkeys[MODE_IN] = newkeys[MODE_OUT] = NULL;
         if (!initialized) {          if (!initialized) {
                 initialized = 1;                  initialized = 1;
Line 1441 
Line 1443 
         return interactive_mode;          return interactive_mode;
 }  }
   
 u_int  int
 packet_set_maxsize(u_int s)  packet_set_maxsize(u_int s)
 {  {
         static int called = 0;          static int called = 0;
Line 1495 
Line 1497 
         }          }
 }  }
   
 #define MAX_PACKETS     (1<<31)  #define MAX_PACKETS     (1U<<31)
 int  int
 packet_need_rekeying(void)  packet_need_rekeying(void)
 {  {

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