Lines Matching defs:anyPolicy

80         if (plev->anyPolicy)
81 X509_POLICY_NODE_print(channel, plev->anyPolicy, 2);
186 * policies of anyPolicy. (RFC 5280 has the TA at depth 0 and the leaf at
205 * In this pass initialize all the tree levels and whether anyPolicy and
218 if (!cache->anyPolicy)
274 if (!matched && last->anyPolicy) {
275 if (ossl_policy_level_add_node(curr, data, last->anyPolicy, tree, 0) == NULL)
283 * CertificatePolicies onto matching parent or anyPolicy if no match.
305 * policies in the parent and link to anyPolicy.
319 * Create a new node with qualifiers from anyPolicy and id from unmatched
325 /* Curr may not have anyPolicy */
326 data->qualifier_set = cache->anyPolicy->qualifier_set;
388 /* Finally add link to anyPolicy */
389 if (last->anyPolicy &&
390 ossl_policy_level_add_node(curr, cache->anyPolicy,
391 last->anyPolicy, tree, 0) == NULL)
435 if (curr->anyPolicy && !curr->anyPolicy->nchild) {
436 if (curr->anyPolicy->parent)
437 curr->anyPolicy->parent->nchild--;
438 OPENSSL_free(curr->anyPolicy);
439 curr->anyPolicy = NULL;
442 /* If we zapped anyPolicy at top then tree is empty */
443 if (!curr->anyPolicy)
472 * If the authority set is not anyPolicy then pnodes will just point to the
473 * authority set. If however the authority set is anyPolicy then the set of
474 * valid policies (other than anyPolicy) is store in pnodes.
490 /* If last level contains anyPolicy set is anyPolicy */
491 if (curr->anyPolicy) {
492 if (!tree_add_auth_node(&tree->auth_policies, curr->anyPolicy))
502 * If no anyPolicy node on this level it can't appear on lower
505 if ((anyptr = curr->anyPolicy) == NULL)
537 X509_POLICY_NODE *anyPolicy;
541 * Check if anyPolicy present in authority constrained policy set: this
547 anyPolicy = tree->levels[tree->nlevel - 1].anyPolicy;
561 if (!anyPolicy)
565 * from anyPolicy.
567 extra = ossl_policy_data_new(NULL, oid, node_critical(anyPolicy));
570 extra->qualifier_set = anyPolicy->data->qualifier_set;
573 node = ossl_policy_level_add_node(NULL, extra, anyPolicy->parent,
643 ossl_policy_node_free(curr->anyPolicy);