Lines Matching refs:anyPolicy
121 if (plev->anyPolicy)
122 X509_POLICY_NODE_print(err, plev->anyPolicy, 2);
246 /* Root data: initialize to anyPolicy */
261 if (!cache->anyPolicy)
327 if (!matched && last->anyPolicy)
329 if (!level_add_node(curr, data, last->anyPolicy, NULL))
337 * or anyPolicy if no match.
352 * if anyPolicy matching is enabled because there would be
371 * to anyPolicy.
383 /* Create a new node with qualifiers from anyPolicy and
390 /* Curr may not have anyPolicy */
391 data->qualifier_set = cache->anyPolicy->qualifier_set;
469 /* Create a new node with qualifiers from anyPolicy and
477 /* Curr may not have anyPolicy */
478 data->qualifier_set = cache->anyPolicy->qualifier_set;
489 /* Finally add link to anyPolicy */
490 if (last->anyPolicy)
492 if (!level_add_node(curr, cache->anyPolicy,
493 last->anyPolicy, NULL))
538 if (curr->anyPolicy && !curr->anyPolicy->nchild)
540 if (curr->anyPolicy->parent)
541 curr->anyPolicy->parent->nchild--;
542 OPENSSL_free(curr->anyPolicy);
543 curr->anyPolicy = NULL;
547 /* If we zapped anyPolicy at top then tree is empty */
548 if (!curr->anyPolicy)
579 * used to calculate the user set. If the authority set is not anyPolicy
581 * set is anyPolicy then the set of valid policies (other than anyPolicy)
595 /* If last level contains anyPolicy set is anyPolicy */
596 if (curr->anyPolicy)
598 if (!tree_add_auth_node(&tree->auth_policies, curr->anyPolicy))
609 /* If no anyPolicy node on this this level it can't
612 if (!(anyptr = curr->anyPolicy))
640 X509_POLICY_NODE *anyPolicy;
643 /* Check if anyPolicy present in authority constrained policy set:
650 anyPolicy = tree->levels[tree->nlevel - 1].anyPolicy;
668 if (!anyPolicy)
671 * and qualifiers from anyPolicy.
674 node_critical(anyPolicy));
677 extra->qualifier_set = anyPolicy->data->qualifier_set;
680 node = level_add_node(NULL, extra, anyPolicy->parent,
746 if (curr->anyPolicy)
747 policy_node_free(curr->anyPolicy);