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

Diff for /src/usr.bin/ssh/Attic/auth1.c between version 1.60 and 1.61

version 1.60, 2005/05/20 12:57:01 version 1.61, 2005/06/17 02:44:32
Line 136 
Line 136 
 static int  static int
 auth1_process_rhosts_rsa(Authctxt *authctxt, char *info, size_t infolen)  auth1_process_rhosts_rsa(Authctxt *authctxt, char *info, size_t infolen)
 {  {
         int authenticated = 0;          int keybits, authenticated = 0;
         u_int bits;          u_int bits;
         char *client_user;          char *client_user;
         Key *client_host_key;          Key *client_host_key;
Line 155 
Line 155 
         packet_get_bignum(client_host_key->rsa->e);          packet_get_bignum(client_host_key->rsa->e);
         packet_get_bignum(client_host_key->rsa->n);          packet_get_bignum(client_host_key->rsa->n);
   
         if (bits != BN_num_bits(client_host_key->rsa->n)) {          keybits = BN_num_bits(client_host_key->rsa->n);
           if (keybits < 0 || bits != (u_int)keybits) {
                 verbose("Warning: keysize mismatch for client_host_key: "                  verbose("Warning: keysize mismatch for client_host_key: "
                     "actual %d, announced %d",                      "actual %d, announced %d",
                     BN_num_bits(client_host_key->rsa->n), bits);                      BN_num_bits(client_host_key->rsa->n), bits);

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61