policy_cache_set
const X509_POLICY_CACHE *policy_cache_set(X509 *x);
cache = policy_cache_set(x);
cache = policy_cache_set(curr->cert);