[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.78 and 1.79

version 1.78, 2010/07/13 23:13:16 version 1.79, 2010/12/03 23:55:27
Line 91 
Line 91 
         MD5_CTX md;          MD5_CTX md;
         int len;          int len;
   
         if (auth_key_is_revoked(key))  
                 return 0;  
   
         /* don't allow short keys */          /* don't allow short keys */
         if (BN_num_bits(key->rsa->n) < SSH_RSA_MINIMUM_MODULUS_SIZE) {          if (BN_num_bits(key->rsa->n) < SSH_RSA_MINIMUM_MODULUS_SIZE) {
                 error("auth_rsa_verify_response: RSA modulus too small: %d < minimum %d bits",                  error("auth_rsa_verify_response: RSA modulus too small: %d < minimum %d bits",
Line 245 
Line 242 
                         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);
   
                   /* Never accept a revoked key */
                   if (auth_key_is_revoked(key))
                           break;
   
                 /* We have found the desired key. */                  /* We have found the desired key. */
                 /*                  /*

Legend:
Removed from v.1.78  
changed lines
  Added in v.1.79