Lines Matching refs:idp
89 static void setup_idp(X509_CRL *crl, ISSUING_DIST_POINT *idp);
232 crl->idp = NULL; in crl_cb()
246 crl->idp = X509_CRL_get_ext_d2i(crl, in crl_cb()
249 if (crl->idp) in crl_cb()
250 setup_idp(crl, crl->idp); in crl_cb()
310 if (crl->idp) in crl_cb()
311 ISSUING_DIST_POINT_free(crl->idp); in crl_cb()
322 static void setup_idp(X509_CRL *crl, ISSUING_DIST_POINT *idp) in setup_idp() argument
327 if (idp->onlyuser > 0) { in setup_idp()
331 if (idp->onlyCA > 0) { in setup_idp()
335 if (idp->onlyattr > 0) { in setup_idp()
343 if (idp->indirectCRL > 0) in setup_idp()
346 if (idp->onlysomereasons) { in setup_idp()
348 if (idp->onlysomereasons->length > 0) in setup_idp()
349 crl->idp_reasons = idp->onlysomereasons->data[0]; in setup_idp()
350 if (idp->onlysomereasons->length > 1) in setup_idp()
351 crl->idp_reasons |= (idp->onlysomereasons->data[1] << 8); in setup_idp()
355 DIST_POINT_set_dpname(idp->distpoint, X509_CRL_get_issuer(crl)); in setup_idp()