[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.30 and 1.31

version 1.30, 2000/04/30 09:12:07 version 1.31, 2000/05/01 07:40:03
Line 130 
Line 130 
 void  void
 packet_set_ssh2_format(void)  packet_set_ssh2_format(void)
 {  {
         debug("use_ssh2_packet_format");          DBG(debug("use_ssh2_packet_format"));
         use_ssh2_packet_format = 1;          use_ssh2_packet_format = 1;
 }  }
   
Line 613 
Line 613 
                         fatal("packet_send2: no KEX");                          fatal("packet_send2: no KEX");
                 if (mac->md != NULL)                  if (mac->md != NULL)
                         mac->enabled = 1;                          mac->enabled = 1;
                 debug("cipher_set_key_iv send_context");                  DBG(debug("cipher_set_key_iv send_context"));
                 cipher_set_key_iv(&send_context, enc->type,                  cipher_set_key_iv(&send_context, enc->type,
                     enc->key, enc->key_len,                      enc->key, enc->key_len,
                     enc->iv, enc->iv_len);                      enc->iv, enc->iv_len);
Line 636 
Line 636 
         DBG(debug("packet_send done"));          DBG(debug("packet_send done"));
 }  }
   
 void  
 packet_send_and_wait()  
 {  
         packet_send();  
         packet_write_wait();  
 }  
   
 /*  /*
  * Waits until a packet has been received, and returns its type.  Note that   * Waits until a packet has been received, and returns its type.  Note that
  * no other data is processed until this returns, so this function should not   * no other data is processed until this returns, so this function should not
Line 921 
Line 914 
                         fatal("packet_read_poll2: no KEX");                          fatal("packet_read_poll2: no KEX");
                 if (mac->md != NULL)                  if (mac->md != NULL)
                         mac->enabled = 1;                          mac->enabled = 1;
                 debug("cipher_set_key_iv receive_context");                  DBG(debug("cipher_set_key_iv receive_context"));
                 cipher_set_key_iv(&receive_context, enc->type,                  cipher_set_key_iv(&receive_context, enc->type,
                     enc->key, enc->key_len,                      enc->key, enc->key_len,
                     enc->iv, enc->iv_len);                      enc->iv, enc->iv_len);

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31