[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.108 and 1.109

version 1.108, 2021/06/08 06:54:40 version 1.109, 2021/07/23 03:37:52
Line 671 
Line 671 
                 reason = "Certificate does not contain an authorized principal";                  reason = "Certificate does not contain an authorized principal";
                 goto fail_reason;                  goto fail_reason;
         }          }
         if (sshkey_cert_check_authority(key, 0, 0, 0,          if (sshkey_cert_check_authority_now(key, 0, 0, 0,
             keyopts->cert_principals == NULL ? pw->pw_name : NULL,              keyopts->cert_principals == NULL ? pw->pw_name : NULL,
             &reason) != 0)              &reason) != 0)
                 goto fail_reason;                  goto fail_reason;
Line 791 
Line 791 
         }          }
         if (use_authorized_principals && principals_opts == NULL)          if (use_authorized_principals && principals_opts == NULL)
                 fatal_f("internal error: missing principals_opts");                  fatal_f("internal error: missing principals_opts");
         if (sshkey_cert_check_authority(key, 0, 1, 0,          if (sshkey_cert_check_authority_now(key, 0, 1, 0,
             use_authorized_principals ? NULL : pw->pw_name, &reason) != 0)              use_authorized_principals ? NULL : pw->pw_name, &reason) != 0)
                 goto fail_reason;                  goto fail_reason;
   

Legend:
Removed from v.1.108  
changed lines
  Added in v.1.109