Lines Matching +full:0 +full:xa0

80         if (strcmp(msg, *p) == 0)  in is_exception()
82 return 0; in is_exception()
87 int ret = 0; in set_cn()
101 if (nid == 0) in set_cn()
126 int ret = 0; in set_altname()
139 if (type == 0) in set_altname()
164 if (!X509_add1_ext_i2d(crt, NID_subject_alt_name, gens, 0, 0)) in set_altname()
177 return set_cn(crt, NID_commonName, name, 0); in set_cn1()
183 NID_pkcs9_emailAddress, "dummy@example.com", 0); in set_cn_and_email()
189 NID_commonName, name, 0); in set_cn2()
195 NID_commonName, "dummy value", 0); in set_cn3()
200 return set_cn(crt, NID_pkcs9_emailAddress, name, 0); in set_email1()
206 NID_pkcs9_emailAddress, name, 0); in set_email2()
212 NID_pkcs9_emailAddress, "dummy@example.com", 0); in set_email3()
218 NID_commonName, "www.example.org", 0); in set_email_and_cn()
223 return set_altname(crt, GEN_DNS, name, 0); in set_altname_dns()
228 return set_altname(crt, GEN_EMAIL, name, 0); in set_altname_email()
239 {set_cn1, "set CN", 1, 0},
240 {set_cn2, "set CN", 1, 0},
241 {set_cn3, "set CN", 1, 0},
242 {set_cn_and_email, "set CN", 1, 0},
243 {set_email1, "set emailAddress", 0, 1},
244 {set_email2, "set emailAddress", 0, 1},
245 {set_email3, "set emailAddress", 0, 1},
246 {set_email_and_cn, "set emailAddress", 0, 1},
247 {set_altname_dns, "set dnsName", 1, 0},
248 {set_altname_email, "set rfc822Name", 0, 1},
269 if (match < 0) in check_message()
277 return 0; in check_message()
284 int failed = 0; in run_cert()
287 int samename = OPENSSL_strcasecmp(nameincert, *pname) == 0; in run_cert()
293 return 0; in run_cert()
297 if (!TEST_int_ge(ret = X509_check_host(crt, name, namelen, 0, NULL), in run_cert()
298 0)) { in run_cert()
303 if (ret == 0 && samename) in run_cert()
304 match = 0; in run_cert()
313 NULL), 0)) { in run_cert()
318 if (ret == 0 && samename) in run_cert()
319 match = 0; in run_cert()
327 ret = X509_check_email(crt, name, namelen, 0); in run_cert()
332 match = 0; in run_cert()
340 return failed == 0; in run_cert()
345 int failed = 0; in call_run_cert()
358 return failed == 0; in call_run_cert()
367 * [0] {
369 * [0] {
375 0xa0, 0x13, 0x06, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04,
376 0x01, 0x84, 0xb7, 0x09, 0x02, 0x01, 0xa0, 0x02, 0x30, 0x00
381 * [0] {
383 * [0] {
384 * [APPLICATION 0] {}
389 0xa0, 0x13, 0x06, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04,
390 0x01, 0x84, 0xb7, 0x09, 0x02, 0x01, 0xa0, 0x02, 0x60, 0x00
395 * [0] {
397 * [0] {
403 0xa0, 0x14, 0x06, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04,
404 0x01, 0x84, 0xb7, 0x09, 0x02, 0x01, 0xa0, 0x03, 0x0c, 0x01, 0x61
409 * [0] {
411 * [0] {
417 0xa0, 0x14, 0x06, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04,
418 0x01, 0x84, 0xb7, 0x09, 0x02, 0x02, 0xa0, 0x03, 0x0c, 0x01, 0x61
423 * [0] {
425 * [0] {
431 0xa0, 0x14, 0x06, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04,
432 0x01, 0x84, 0xb7, 0x09, 0x02, 0x01, 0xa0, 0x03, 0x0c, 0x01, 0x62
437 * [0] {
439 * [0] {
445 0xa0, 0x14, 0x06, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04,
446 0x01, 0x84, 0xb7, 0x09, 0x02, 0x01, 0xa0, 0x03, 0x01, 0x01, 0xff
451 * [0] {
453 * [0] {
459 0xa0, 0x14, 0x06, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04,
460 0x01, 0x84, 0xb7, 0x09, 0x02, 0x01, 0xa0, 0x03, 0x01, 0x01, 0x00
466 0x81, 0x01, 0x61
472 0x81, 0x01, 0x62
478 0x82, 0x01, 0x61
484 0x82, 0x01, 0x62
502 0xa4, 0x0e, 0x30, 0x0c, 0x31, 0x0a, 0x30, 0x08, 0x06, 0x03, 0x55,
503 0x04, 0x03, 0x0c, 0x01, 0x61
521 0xa4, 0x0e, 0x30, 0x0c, 0x31, 0x0a, 0x30, 0x08, 0x06, 0x03, 0x55,
522 0x04, 0x03, 0x0c, 0x01, 0x62
534 0xa5, 0x05, 0xa1, 0x03, 0x0c, 0x01, 0x61
546 0xa5, 0x05, 0xa1, 0x03, 0x0c, 0x01, 0x62
552 * [0] {
561 0xa5, 0x09, 0xa0, 0x02, 0x0c, 0x00, 0xa1, 0x03, 0x0c, 0x01, 0x61
567 * [0] {
576 0xa5, 0x0a, 0xa0, 0x03, 0x0c, 0x01, 0x61, 0xa1, 0x03, 0x0c, 0x01,
577 0x61
583 * [0] {
592 0xa5, 0x0a, 0xa0, 0x03, 0x0c, 0x01, 0x62, 0xa1, 0x03, 0x0c, 0x01,
593 0x61
599 0x86, 0x01, 0x61
605 0x86, 0x01, 0x62
611 0x87, 0x04, 0x11, 0x11, 0x11, 0x11
617 0x87, 0x04, 0x22, 0x22, 0x22, 0x22
623 0x87, 0x10, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11,
624 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11
630 0x87, 0x10, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22,
631 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22
637 0x88, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04, 0x01, 0x84,
638 0xb7, 0x09, 0x02, 0x01
644 0x88, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04, 0x01, 0x84,
645 0xb7, 0x09, 0x02, 0x02
653 0xa3, 0x00
666 int testresult = 0; in test_GENERAL_NAME_cmp()
671 for (i = 0; i < OSSL_NELEM(gennames); i++) { in test_GENERAL_NAME_cmp()
686 for (i = 0; i < OSSL_NELEM(gennames); i++) { in test_GENERAL_NAME_cmp()
687 for (j = 0; j < OSSL_NELEM(gennames); j++) { in test_GENERAL_NAME_cmp()
689 if (!TEST_int_eq(GENERAL_NAME_cmp(namesa[i], namesb[j]), 0)) in test_GENERAL_NAME_cmp()
692 if (!TEST_int_ne(GENERAL_NAME_cmp(namesa[i], namesb[j]), 0)) in test_GENERAL_NAME_cmp()
700 for (i = 0; i < OSSL_NELEM(gennames); i++) { in test_GENERAL_NAME_cmp()