Lines Matching refs:asn1dn
232 vchar_t *asn1dn = NULL, asn1dn0; local
291 asn1dn = eay_str2asn1dn(dnstr, strlen(dnstr));
292 if (asn1dn == NULL || asn1dn->l != asn1dn0.l)
296 printf("asn1dn length mismatched (%zu != %zu).\n", asn1dn ? asn1dn->l : -1, asn1dn0.l);
297 for (cp = asn1dn->v, i = 0; i < asn1dn->l; i++)
302 errx(1, "asn1dn length mismatched (%zu != %zu).\n", asn1dn ? asn1dn->l : -1, asn1dn0.l);
310 if (eay_cmp_asn1dn(&asn1dn0, asn1dn))
312 vfree(asn1dn);
317 asn1dn = eay_str2asn1dn(dnstr_w1, strlen(dnstr_w1));
318 if (asn1dn == NULL || asn1dn->l == asn1dn0.l)
320 if (eay_cmp_asn1dn(&asn1dn0, asn1dn))
322 vfree(asn1dn);
327 asn1dn = eay_str2asn1dn(dnstr_w2, strlen(dnstr_w2));
328 if (asn1dn == NULL || asn1dn->l == asn1dn0.l)
330 if (eay_cmp_asn1dn(&asn1dn0, asn1dn))
332 vfree(asn1dn);