Lines Matching refs:pol
76 static int i2r_certpol(X509V3_EXT_METHOD *method, STACK_OF(POLICYINFO) *pol,
145 POLICYINFO *pol; variable
182 pol = policy_section(ctx, polsect, ia5org);
184 if (!pol)
192 pol = POLICYINFO_new();
193 if (pol == NULL) {
198 pol->policyid = pobj;
200 if (!sk_POLICYINFO_push(pols, pol)) {
201 POLICYINFO_free(pol);
219 POLICYINFO *pol; in policy_section() local
221 if (!(pol = POLICYINFO_new())) in policy_section()
232 pol->policyid = pobj; in policy_section()
235 if (!pol->qualifiers) in policy_section()
236 pol->qualifiers = sk_POLICYQUALINFO_new_null(); in policy_section()
239 if (!sk_POLICYQUALINFO_push(pol->qualifiers, qual)) in policy_section()
272 if (!pol->qualifiers) in policy_section()
273 pol->qualifiers = sk_POLICYQUALINFO_new_null(); in policy_section()
274 if (!sk_POLICYQUALINFO_push(pol->qualifiers, qual)) in policy_section()
283 if (!pol->policyid) { in policy_section()
288 return pol; in policy_section()
294 POLICYINFO_free(pol); in policy_section()
410 static int i2r_certpol(X509V3_EXT_METHOD *method, STACK_OF(POLICYINFO) *pol, in i2r_certpol() argument
416 for (i = 0; i < sk_POLICYINFO_num(pol); i++) { in i2r_certpol()
417 pinfo = sk_POLICYINFO_value(pol, i); in i2r_certpol()