Lines Matching refs:nprincipals
430 for (i = 0; i < cert->nprincipals; i++) in cert_free()
1744 if (from->nprincipals > SSHKEY_CERT_MAX_PRINCIPALS) in sshkey_cert_copy()
1746 if (from->nprincipals > 0) { in sshkey_cert_copy()
1747 if ((to->principals = calloc(from->nprincipals, in sshkey_cert_copy()
1750 for (i = 0; i < from->nprincipals; i++) { in sshkey_cert_copy()
1753 to->nprincipals = i; in sshkey_cert_copy()
1758 to->nprincipals = from->nprincipals; in sshkey_cert_copy()
1886 if (key->cert->nprincipals >= SSHKEY_CERT_MAX_PRINCIPALS) { in cert_parse()
1897 key->cert->nprincipals + 1, sizeof(*key->cert->principals)); in cert_parse()
1904 key->cert->principals[key->cert->nprincipals++] = principal; in cert_parse()
2455 for (i = 0; i < k->cert->nprincipals; i++) { in sshkey_certify()
2522 if (k->cert->nprincipals == 0) { in sshkey_cert_check_authority()
2529 for (i = 0; i < k->cert->nprincipals; i++) { in sshkey_cert_check_authority()