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

Diff for /src/usr.bin/ssh/auth2-pubkey.c between version 1.22 and 1.23

version 1.22, 2010/03/10 23:27:17 version 1.23, 2010/04/16 01:47:26
Line 234 
Line 234 
                 }                  }
                 if (auth_parse_options(pw, key_options, file, linenum) != 1)                  if (auth_parse_options(pw, key_options, file, linenum) != 1)
                         continue;                          continue;
                 if (key->type == KEY_RSA_CERT || key->type == KEY_DSA_CERT) {                  if (key_is_cert(key)) {
                         if (!key_is_cert_authority)                          if (!key_is_cert_authority)
                                 continue;                                  continue;
                         if (!key_equal(found, key->cert->signature_key))                          if (!key_equal(found, key->cert->signature_key))
Line 250 
Line 250 
                                 auth_debug_add("%s", reason);                                  auth_debug_add("%s", reason);
                                 continue;                                  continue;
                         }                          }
                         if (auth_cert_constraints(&key->cert->constraints,                          if (auth_cert_options(key, pw) != 0) {
                             pw) != 0) {  
                                 xfree(fp);                                  xfree(fp);
                                 continue;                                  continue;
                         }                          }
Line 306 
Line 305 
                 auth_debug_add("%s", reason);                  auth_debug_add("%s", reason);
                 goto out;                  goto out;
         }          }
         if (auth_cert_constraints(&key->cert->constraints, pw) != 0)          if (auth_cert_options(key, pw) != 0)
                 goto out;                  goto out;
   
         verbose("Accepted certificate ID \"%s\" signed by %s CA %s via %s",          verbose("Accepted certificate ID \"%s\" signed by %s CA %s via %s",

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23