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

Diff for /src/usr.bin/ssh/session.c between version 1.55 and 1.56

version 1.55, 2001/02/08 19:30:52 version 1.56, 2001/02/16 14:03:43
Line 307 
Line 307 
   
                         s->auth_proto = packet_get_string(&proto_len);                          s->auth_proto = packet_get_string(&proto_len);
                         s->auth_data = packet_get_string(&data_len);                          s->auth_data = packet_get_string(&data_len);
                         packet_integrity_check(plen, 4 + proto_len + 4 + data_len + 4, type);  
   
                         if (packet_get_protocol_flags() & SSH_PROTOFLAG_SCREEN_NUMBER)                          if (packet_get_protocol_flags() & SSH_PROTOFLAG_SCREEN_NUMBER) {
                                   debug2("SSH_PROTOFLAG_SCREEN_NUMBER == true");
                                   packet_integrity_check(plen,
                                       4 + proto_len + 4 + data_len + 4, type);
                                 s->screen = packet_get_int();                                  s->screen = packet_get_int();
                         else                          } else {
                                   debug2("SSH_PROTOFLAG_SCREEN_NUMBER == false");
                                   packet_integrity_check(plen,
                                       4 + proto_len + 4 + data_len, type);
                                 s->screen = 0;                                  s->screen = 0;
                           }
                         s->display = x11_create_display_inet(s->screen, options.x11_display_offset);                          s->display = x11_create_display_inet(s->screen, options.x11_display_offset);
   
                         if (s->display == NULL)                          if (s->display == NULL)

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56