Lines Matching refs:dpn
378 DIST_POINT_NAME *dpn = (DIST_POINT_NAME *)*pval; in IMPLEMENT_ASN1_SET_OF() local
383 dpn->dpname = NULL; in IMPLEMENT_ASN1_SET_OF()
387 if (dpn->dpname) in IMPLEMENT_ASN1_SET_OF()
388 X509_NAME_free(dpn->dpname); in IMPLEMENT_ASN1_SET_OF()
519 static int print_distpoint(BIO *out, DIST_POINT_NAME *dpn, int indent) in print_distpoint() argument
521 if (dpn->type == 0) in print_distpoint()
524 print_gens(out, dpn->name.fullname, indent); in print_distpoint()
529 ntmp.entries = dpn->name.relativename; in print_distpoint()
587 int DIST_POINT_set_dpname(DIST_POINT_NAME *dpn, X509_NAME *iname) in DIST_POINT_set_dpname() argument
592 if (!dpn || (dpn->type != 1)) in DIST_POINT_set_dpname()
594 frag = dpn->name.relativename; in DIST_POINT_set_dpname()
595 dpn->dpname = X509_NAME_dup(iname); in DIST_POINT_set_dpname()
596 if (!dpn->dpname) in DIST_POINT_set_dpname()
601 if (!X509_NAME_add_entry(dpn->dpname, ne, -1, i ? 0 : 1)) in DIST_POINT_set_dpname()
603 X509_NAME_free(dpn->dpname); in DIST_POINT_set_dpname()
604 dpn->dpname = NULL; in DIST_POINT_set_dpname()
609 if (i2d_X509_NAME(dpn->dpname, NULL) < 0) in DIST_POINT_set_dpname()
611 X509_NAME_free(dpn->dpname); in DIST_POINT_set_dpname()
612 dpn->dpname = NULL; in DIST_POINT_set_dpname()