67 static int policy_cache_set_int(
long *out,
ASN1_INTEGER *value);
73 static int policy_cache_create(
X509 *x,
74 CERTIFICATEPOLICIES *policies,
int crit)
129 static int policy_cache_new(
X509 *x)
134 CERTIFICATEPOLICIES *ext_cpols = NULL;
135 POLICY_MAPPINGS *ext_pmaps = NULL;
166 if (!policy_cache_set_int(&cache->
map_skip,
186 i = policy_cache_create(x, ext_cpols, i);
215 else if (!policy_cache_set_int(&cache->
any_skip, ext_any))
225 POLICY_CONSTRAINTS_free(ext_pcons);
228 ASN1_INTEGER_free(ext_any);
275 return OBJ_cmp((*a)->valid_policy, (*b)->valid_policy);
278 static int policy_cache_set_int(
long *out,
ASN1_INTEGER *value)