Lines Matching refs:nprincipals
190 for (i = 0; i < cert->nprincipals; i++)
1188 to->nprincipals = from->nprincipals;
1189 if (to->nprincipals > CERT_MAX_PRINCIPALS)
1190 fatal("%s: nprincipals (%u) > CERT_MAX_PRINCIPALS (%u)",
1191 __func__, to->nprincipals, CERT_MAX_PRINCIPALS);
1192 if (to->nprincipals > 0) {
1193 to->principals = xcalloc(from->nprincipals,
1195 for (i = 0; i < to->nprincipals; i++)
1380 if (key->cert->nprincipals >= CERT_MAX_PRINCIPALS) {
1389 key->cert->nprincipals + 1, sizeof(*key->cert->principals));
1390 key->cert->principals[key->cert->nprincipals++] = principal;
1933 for (i = 0; i < k->cert->nprincipals; i++)
2004 if (k->cert->nprincipals == 0) {
2011 for (i = 0; i < k->cert->nprincipals; i++) {