Home
last modified time | relevance | path

Searched refs:asn1dn (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Deaytest.c232 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)
[all …]
H A Doakley.c2238 vchar_t *buf, *asn1dn = NULL; in oakley_append_rmconf_cr() local
2247 asn1dn = eay_get_x509asn1issuername(rmconf->peerscert); in oakley_append_rmconf_cr()
2250 asn1dn = eay_get_x509asn1subjectname(rmconf->cacert); in oakley_append_rmconf_cr()
2254 if (asn1dn == NULL) { in oakley_append_rmconf_cr()
2260 buf = vmalloc(1 + asn1dn->l); in oakley_append_rmconf_cr()
2265 memcpy(&buf->v[1], asn1dn->v, asn1dn->l); in oakley_append_rmconf_cr()
2275 vfree(asn1dn); in oakley_append_rmconf_cr()
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/samples/roadwarrior/server/
H A Dracoon.conf10 my_identifier asn1dn;
H A Dracoon.conf-radius10 my_identifier asn1dn;
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/samples/
H A Dracoon.conf.sample-inherit15 my_identifier asn1dn;
H A Dracoon.conf.in59 my_identifier asn1dn;
H A Dracoon.conf.sample-natt65 my_identifier asn1dn;
/netbsd-src/crypto/dist/ipsec-tools/
H A DNEWS23 o RFC2253 compliant escaping of asn1dn identifiers (Cyrus Rahman)