Lines Matching defs:cache
102 const X509_POLICY_CACHE *cache;
118 * First setup the policy cache in all n non-TA certificates, this will be
128 /* If cache is NULL, likely ENOMEM: return immediately */
154 /* Access the cache which we now know exists */
155 cache = ossl_policy_cache_set(x);
157 if ((ret & X509_PCY_TREE_VALID) && cache->data == NULL)
162 if ((cache->explicit_skip >= 0)
163 && (cache->explicit_skip < explicit_policy))
164 explicit_policy = cache->explicit_skip;
212 /* Access the cache which we now know exists */
213 cache = ossl_policy_cache_set(x);
218 if (!cache->anyPolicy)
232 if ((cache->any_skip >= 0) && (cache->any_skip < any_skip))
233 any_skip = cache->any_skip;
241 if ((cache->map_skip >= 0) && (cache->map_skip < map_skip))
242 map_skip = cache->map_skip;
288 const X509_POLICY_CACHE *cache,
293 for (i = 0; i < sk_X509_POLICY_DATA_num(cache->data); i++) {
294 X509_POLICY_DATA *data = sk_X509_POLICY_DATA_value(cache->data, i);
310 const X509_POLICY_CACHE *cache,
326 data->qualifier_set = cache->anyPolicy->qualifier_set;
339 const X509_POLICY_CACHE *cache,
350 if (!tree_add_unmatched(curr, cache, NULL, node, tree))
363 if (!tree_add_unmatched(curr, cache, oid, node, tree))
375 const X509_POLICY_CACHE *cache,
385 if (!tree_link_unmatched(curr, cache, node, tree))
390 ossl_policy_level_add_node(curr, cache->anyPolicy,
605 const X509_POLICY_CACHE *cache;
608 cache = ossl_policy_cache_set(curr->cert);
609 if (!tree_link_nodes(curr, cache, tree))
613 && !tree_link_any(curr, cache, tree))