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

Diff for /src/usr.bin/ssh/sshd.c between version 1.130 and 1.131

version 1.130, 2000/10/11 20:27:24 version 1.131, 2000/10/12 09:59:20
Line 1135 
Line 1135 
         packet_put_int(SSH_PROTOFLAG_HOST_IN_FWD_OPEN);          packet_put_int(SSH_PROTOFLAG_HOST_IN_FWD_OPEN);
   
         /* Declare which ciphers we support. */          /* Declare which ciphers we support. */
         packet_put_int(cipher_mask1());          packet_put_int(cipher_mask_ssh1(0));
   
         /* Declare supported authentication types. */          /* Declare supported authentication types. */
         auth_mask = 0;          auth_mask = 0;
Line 1176 
Line 1176 
         /* Get cipher type and check whether we accept this. */          /* Get cipher type and check whether we accept this. */
         cipher_type = packet_get_char();          cipher_type = packet_get_char();
   
         if (!(cipher_mask1() & (1 << cipher_type)))          if (!(cipher_mask_ssh1(0) & (1 << cipher_type)))
                 packet_disconnect("Warning: client selects unsupported cipher.");                  packet_disconnect("Warning: client selects unsupported cipher.");
   
         /* Get check bytes from the packet.  These must match those we          /* Get check bytes from the packet.  These must match those we

Legend:
Removed from v.1.130  
changed lines
  Added in v.1.131