Lines Matching refs:nc
78 static int nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc);
242 int NAME_CONSTRAINTS_check(X509 *x, NAME_CONSTRAINTS *nc)
256 r = nc_match(&gntmp, nc);
279 r = nc_match(&gntmp, nc);
290 r = nc_match(gen, nc);
299 static int nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc)
309 for (i = 0; i < sk_GENERAL_SUBTREE_num(nc->permittedSubtrees); i++)
311 sub = sk_GENERAL_SUBTREE_value(nc->permittedSubtrees, i);
333 for (i = 0; i < sk_GENERAL_SUBTREE_num(nc->excludedSubtrees); i++)
335 sub = sk_GENERAL_SUBTREE_value(nc->excludedSubtrees, i);