Lines Matching +full:0 +full:x84
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()
163 if (!X509_add1_ext_i2d(crt, NID_subject_alt_name, gens, 0, 0)) in set_altname()
176 return set_cn(crt, NID_commonName, name, 0); in set_cn1()
182 NID_pkcs9_emailAddress, "dummy@example.com", 0); in set_cn_and_email()
188 NID_commonName, name, 0); in set_cn2()
194 NID_commonName, "dummy value", 0); in set_cn3()
199 return set_cn(crt, NID_pkcs9_emailAddress, name, 0); in set_email1()
205 NID_pkcs9_emailAddress, name, 0); in set_email2()
211 NID_pkcs9_emailAddress, "dummy@example.com", 0); in set_email3()
217 NID_commonName, "www.example.org", 0); in set_email_and_cn()
222 return set_altname(crt, GEN_DNS, name, 0); in set_altname_dns()
227 return set_altname(crt, GEN_EMAIL, name, 0); in set_altname_email()
238 {set_cn1, "set CN", 1, 0},
239 {set_cn2, "set CN", 1, 0},
240 {set_cn3, "set CN", 1, 0},
241 {set_cn_and_email, "set CN", 1, 0},
242 {set_email1, "set emailAddress", 0, 1},
243 {set_email2, "set emailAddress", 0, 1},
244 {set_email3, "set emailAddress", 0, 1},
245 {set_email_and_cn, "set emailAddress", 0, 1},
246 {set_altname_dns, "set dnsName", 1, 0},
247 {set_altname_email, "set rfc822Name", 0, 1},
268 if (match < 0) in check_message()
276 return 0; in check_message()
283 int failed = 0; in run_cert()
286 int samename = OPENSSL_strcasecmp(nameincert, *pname) == 0; in run_cert()
292 return 0; in run_cert()
296 if (!TEST_int_ge(ret = X509_check_host(crt, name, namelen, 0, NULL), in run_cert()
297 0)) { in run_cert()
302 if (ret == 0 && samename) in run_cert()
303 match = 0; in run_cert()
312 NULL), 0)) { in run_cert()
317 if (ret == 0 && samename) in run_cert()
318 match = 0; in run_cert()
326 ret = X509_check_email(crt, name, namelen, 0); in run_cert()
331 match = 0; in run_cert()
339 return failed == 0; in run_cert()
344 int failed = 0; in call_run_cert()
357 return failed == 0; in call_run_cert()
366 * [0] {
368 * [0] {
374 0xa0, 0x13, 0x06, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04,
375 0x01, 0x84, 0xb7, 0x09, 0x02, 0x01, 0xa0, 0x02, 0x30, 0x00
380 * [0] {
382 * [0] {
383 * [APPLICATION 0] {}
388 0xa0, 0x13, 0x06, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04,
389 0x01, 0x84, 0xb7, 0x09, 0x02, 0x01, 0xa0, 0x02, 0x60, 0x00
394 * [0] {
396 * [0] {
402 0xa0, 0x14, 0x06, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04,
403 0x01, 0x84, 0xb7, 0x09, 0x02, 0x01, 0xa0, 0x03, 0x0c, 0x01, 0x61
408 * [0] {
410 * [0] {
416 0xa0, 0x14, 0x06, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04,
417 0x01, 0x84, 0xb7, 0x09, 0x02, 0x02, 0xa0, 0x03, 0x0c, 0x01, 0x61
422 * [0] {
424 * [0] {
430 0xa0, 0x14, 0x06, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04,
431 0x01, 0x84, 0xb7, 0x09, 0x02, 0x01, 0xa0, 0x03, 0x0c, 0x01, 0x62
436 * [0] {
438 * [0] {
444 0xa0, 0x14, 0x06, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04,
445 0x01, 0x84, 0xb7, 0x09, 0x02, 0x01, 0xa0, 0x03, 0x01, 0x01, 0xff
450 * [0] {
452 * [0] {
458 0xa0, 0x14, 0x06, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04,
459 0x01, 0x84, 0xb7, 0x09, 0x02, 0x01, 0xa0, 0x03, 0x01, 0x01, 0x00
465 0x81, 0x01, 0x61
471 0x81, 0x01, 0x62
477 0x82, 0x01, 0x61
483 0x82, 0x01, 0x62
501 0xa4, 0x0e, 0x30, 0x0c, 0x31, 0x0a, 0x30, 0x08, 0x06, 0x03, 0x55,
502 0x04, 0x03, 0x0c, 0x01, 0x61
520 0xa4, 0x0e, 0x30, 0x0c, 0x31, 0x0a, 0x30, 0x08, 0x06, 0x03, 0x55,
521 0x04, 0x03, 0x0c, 0x01, 0x62
533 0xa5, 0x05, 0xa1, 0x03, 0x0c, 0x01, 0x61
545 0xa5, 0x05, 0xa1, 0x03, 0x0c, 0x01, 0x62
551 * [0] {
560 0xa5, 0x09, 0xa0, 0x02, 0x0c, 0x00, 0xa1, 0x03, 0x0c, 0x01, 0x61
566 * [0] {
575 0xa5, 0x0a, 0xa0, 0x03, 0x0c, 0x01, 0x61, 0xa1, 0x03, 0x0c, 0x01,
576 0x61
582 * [0] {
591 0xa5, 0x0a, 0xa0, 0x03, 0x0c, 0x01, 0x62, 0xa1, 0x03, 0x0c, 0x01,
592 0x61
598 0x86, 0x01, 0x61
604 0x86, 0x01, 0x62
610 0x87, 0x04, 0x11, 0x11, 0x11, 0x11
616 0x87, 0x04, 0x22, 0x22, 0x22, 0x22
622 0x87, 0x10, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11,
623 0x11, 0x11, 0x11, 0x11, 0x11, 0x11, 0x11
629 0x87, 0x10, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22,
630 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x22
636 0x88, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04, 0x01, 0x84,
637 0xb7, 0x09, 0x02, 0x01
643 0x88, 0x0d, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12, 0x04, 0x01, 0x84,
644 0xb7, 0x09, 0x02, 0x02
652 0xa3, 0x00
665 int testresult = 0; in test_GENERAL_NAME_cmp()
670 for (i = 0; i < OSSL_NELEM(gennames); i++) { in test_GENERAL_NAME_cmp()
685 for (i = 0; i < OSSL_NELEM(gennames); i++) { in test_GENERAL_NAME_cmp()
686 for (j = 0; j < OSSL_NELEM(gennames); j++) { in test_GENERAL_NAME_cmp()
688 if (!TEST_int_eq(GENERAL_NAME_cmp(namesa[i], namesb[j]), 0)) in test_GENERAL_NAME_cmp()
691 if (!TEST_int_ne(GENERAL_NAME_cmp(namesa[i], namesb[j]), 0)) in test_GENERAL_NAME_cmp()
699 for (i = 0; i < OSSL_NELEM(gennames); i++) { in test_GENERAL_NAME_cmp()