Lines Matching refs:idp
20 static int setup_idp(X509_CRL *crl, ISSUING_DIST_POINT *idp);
173 ISSUING_DIST_POINT_free(crl->idp); in crl_cb()
180 crl->idp = NULL; in crl_cb()
195 crl->idp = X509_CRL_get_ext_d2i(crl, in crl_cb()
198 if (crl->idp != NULL) { in crl_cb()
199 if (!setup_idp(crl, crl->idp)) in crl_cb()
269 ISSUING_DIST_POINT_free(crl->idp); in crl_cb()
289 static int setup_idp(X509_CRL *crl, ISSUING_DIST_POINT *idp) in setup_idp() argument
295 if (idp->onlyuser > 0) { in setup_idp()
299 if (idp->onlyCA > 0) { in setup_idp()
303 if (idp->onlyattr > 0) { in setup_idp()
311 if (idp->indirectCRL > 0) in setup_idp()
314 if (idp->onlysomereasons) { in setup_idp()
316 if (idp->onlysomereasons->length > 0) in setup_idp()
317 crl->idp_reasons = idp->onlysomereasons->data[0]; in setup_idp()
318 if (idp->onlysomereasons->length > 1) in setup_idp()
319 crl->idp_reasons |= (idp->onlysomereasons->data[1] << 8); in setup_idp()
323 return DIST_POINT_set_dpname(idp->distpoint, X509_CRL_get_issuer(crl)); in setup_idp()