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

Diff for /src/usr.bin/ssh/Attic/auth-rsa.c between version 1.84 and 1.85

version 1.84, 2013/06/21 00:34:49 version 1.85, 2013/07/12 00:19:58
Line 162 
Line 162 
     const BIGNUM *client_n, Key **rkey)      const BIGNUM *client_n, Key **rkey)
 {  {
         char *fp, line[SSH_MAX_PUBKEY_BYTES];          char *fp, line[SSH_MAX_PUBKEY_BYTES];
         int allowed = 0;          int allowed = 0, bits;
         u_int bits;  
         FILE *f;          FILE *f;
         u_long linenum = 0;          u_long linenum = 0;
         Key *key;          Key *key;
Line 224 
Line 223 
   
                 /* check the real bits  */                  /* check the real bits  */
                 keybits = BN_num_bits(key->rsa->n);                  keybits = BN_num_bits(key->rsa->n);
                 if (keybits < 0 || bits != (u_int)keybits)                  if (keybits < 0 || bits != keybits)
                         logit("Warning: %s, line %lu: keysize mismatch: "                          logit("Warning: %s, line %lu: keysize mismatch: "
                             "actual %d vs. announced %d.",                              "actual %d vs. announced %d.",
                             file, linenum, BN_num_bits(key->rsa->n), bits);                              file, linenum, BN_num_bits(key->rsa->n), bits);

Legend:
Removed from v.1.84  
changed lines
  Added in v.1.85