Lines Matching refs:sub
78 static int nc_match_single(GENERAL_NAME *sub, GENERAL_NAME *gen);
79 static int nc_dn(X509_NAME *sub, X509_NAME *nm);
80 static int nc_dns(ASN1_IA5STRING *sub, ASN1_IA5STRING *dns);
81 static int nc_email(ASN1_IA5STRING *sub, ASN1_IA5STRING *eml);
195 GENERAL_SUBTREE *sub = NULL; in v2i_NAME_CONSTRAINTS() local
213 sub = GENERAL_SUBTREE_new(); in v2i_NAME_CONSTRAINTS()
214 if (!v2i_GENERAL_NAME_ex(sub->base, method, ctx, &tval, 1)) in v2i_NAME_CONSTRAINTS()
218 if (!*ptree || !sk_GENERAL_SUBTREE_push(*ptree, sub)) in v2i_NAME_CONSTRAINTS()
220 sub = NULL; in v2i_NAME_CONSTRAINTS()
229 GENERAL_SUBTREE_free(sub); in v2i_NAME_CONSTRAINTS()
355 GENERAL_SUBTREE *sub; in nc_match() local
363 sub = sk_GENERAL_SUBTREE_value(nc->permittedSubtrees, i); in nc_match()
364 if (gen->type != sub->base->type) in nc_match()
366 if (sub->minimum || sub->maximum) in nc_match()
373 r = nc_match_single(gen, sub->base); in nc_match()
386 sub = sk_GENERAL_SUBTREE_value(nc->excludedSubtrees, i); in nc_match()
387 if (gen->type != sub->base->type) in nc_match()
389 if (sub->minimum || sub->maximum) in nc_match()
392 r = nc_match_single(gen, sub->base); in nc_match()