[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.53 and 1.54

version 1.53, 2002/03/25 09:21:13 version 1.54, 2002/03/26 23:13:03
Line 78 
Line 78 
         MD5_CTX md;          MD5_CTX md;
         int len;          int len;
   
           /* don't allow short keys */
           if (BN_num_bits(key->rsa->n) < 768) {
                   error("auth_rsa_verify_response: n too small: %d bits",
                       BN_num_bits(key->rsa->n));
                   return (0);
           }
   
         /* The response is MD5 of decrypted challenge plus session id. */          /* The response is MD5 of decrypted challenge plus session id. */
         len = BN_num_bytes(challenge);          len = BN_num_bytes(challenge);
         if (len <= 0 || len > 32)          if (len <= 0 || len > 32)

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54