Lines Matching refs:nc
75 static int nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc);
239 int NAME_CONSTRAINTS_check(X509 *x, NAME_CONSTRAINTS *nc)
252 r = nc_match(&gntmp, nc);
275 r = nc_match(&gntmp, nc);
286 r = nc_match(gen, nc);
295 static int nc_match(GENERAL_NAME *gen, NAME_CONSTRAINTS *nc)
304 for (i = 0; i < sk_GENERAL_SUBTREE_num(nc->permittedSubtrees); i++)
306 sub = sk_GENERAL_SUBTREE_value(nc->permittedSubtrees, i);
328 for (i = 0; i < sk_GENERAL_SUBTREE_num(nc->excludedSubtrees); i++)
330 sub = sk_GENERAL_SUBTREE_value(nc->excludedSubtrees, i);