Home | History | Annotate | Download | only in x509v3

Lines Matching refs:dp

372 static void setup_dp(X509 *x, DIST_POINT *dp)
376 if (dp->reasons) {
377 if (dp->reasons->length > 0)
378 dp->dp_reasons = dp->reasons->data[0];
379 if (dp->reasons->length > 1)
380 dp->dp_reasons |= (dp->reasons->data[1] << 8);
381 dp->dp_reasons &= CRLDP_ALL_REASONS;
383 dp->dp_reasons = CRLDP_ALL_REASONS;
384 if (!dp->distpoint || (dp->distpoint->type != 1))
386 for (i = 0; i < sk_GENERAL_NAME_num(dp->CRLissuer); i++) {
387 GENERAL_NAME *gen = sk_GENERAL_NAME_value(dp->CRLissuer, i);
396 DIST_POINT_set_dpname(dp->distpoint, iname);