[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.174 and 1.175

version 1.174, 2011/12/07 05:44:38 version 1.175, 2012/01/25 19:26:43
Line 959 
Line 959 
   
         /* during rekeying we can only send key exchange messages */          /* during rekeying we can only send key exchange messages */
         if (active_state->rekeying) {          if (active_state->rekeying) {
                 if (!((type >= SSH2_MSG_TRANSPORT_MIN) &&                  if ((type < SSH2_MSG_TRANSPORT_MIN) ||
                     (type <= SSH2_MSG_TRANSPORT_MAX))) {                      (type > SSH2_MSG_TRANSPORT_MAX) ||
                       (type == SSH2_MSG_SERVICE_REQUEST) ||
                       (type == SSH2_MSG_SERVICE_ACCEPT)) {
                         debug("enqueue packet: %u", type);                          debug("enqueue packet: %u", type);
                         p = xmalloc(sizeof(*p));                          p = xmalloc(sizeof(*p));
                         p->type = type;                          p->type = type;

Legend:
Removed from v.1.174  
changed lines
  Added in v.1.175