Lines Matching refs:certs
28 STACK_OF(X509) *certs;
45 sk_X509_free(fixture->certs); in tear_down()
337 X509_build_chain(fixture->cert, fixture->certs, NULL, in execute_cmp_build_cert_chain_test()
352 chain = X509_build_chain(fixture->cert, fixture->certs, store, in execute_cmp_build_cert_chain_test()
371 if (!TEST_ptr(fixture->certs = sk_X509_new_null()) in test_cmp_build_cert_chain()
373 || !TEST_true(sk_X509_push(fixture->certs, endentity1)) in test_cmp_build_cert_chain()
374 || !TEST_true(sk_X509_push(fixture->certs, root)) in test_cmp_build_cert_chain()
375 || !TEST_true(sk_X509_push(fixture->certs, intermediate)) in test_cmp_build_cert_chain()
397 if (!TEST_ptr(fixture->certs = sk_X509_new_null()) in test_cmp_build_cert_chain_missing_intermediate()
399 || !TEST_true(sk_X509_push(fixture->certs, endentity1)) in test_cmp_build_cert_chain_missing_intermediate()
400 || !TEST_true(sk_X509_push(fixture->certs, root)) in test_cmp_build_cert_chain_missing_intermediate()
415 if (!TEST_ptr(fixture->certs = sk_X509_new_null()) in test_cmp_build_cert_chain_no_root()
417 || !TEST_true(sk_X509_push(fixture->certs, endentity1)) in test_cmp_build_cert_chain_no_root()
418 || !TEST_true(sk_X509_push(fixture->certs, intermediate)) in test_cmp_build_cert_chain_no_root()
434 if (!TEST_ptr(fixture->certs = sk_X509_new_null()) in test_cmp_build_cert_chain_only_root()
436 || !TEST_true(sk_X509_push(fixture->certs, root)) in test_cmp_build_cert_chain_only_root()
451 if (!TEST_ptr(fixture->certs = sk_X509_new_null()) in test_cmp_build_cert_chain_no_certs()
469 fixture->certs, in execute_X509_STORE_test()
487 if (!TEST_ptr(fixture->certs = sk_X509_new_null()) in test_X509_STORE()
488 || !sk_X509_push(fixture->certs, endentity1) in test_X509_STORE()
489 || !sk_X509_push(fixture->certs, endentity2) in test_X509_STORE()
490 || !sk_X509_push(fixture->certs, root) in test_X509_STORE()
491 || !sk_X509_push(fixture->certs, intermediate) in test_X509_STORE()
492 || !TEST_ptr(fixture->chain = sk_X509_dup(fixture->certs))) { in test_X509_STORE()
503 fixture->certs = sk_X509_new_null(); in test_X509_STORE_only_self_issued()
506 if (!TEST_true(sk_X509_push(fixture->certs, endentity1)) in test_X509_STORE_only_self_issued()
507 || !TEST_true(sk_X509_push(fixture->certs, endentity2)) in test_X509_STORE_only_self_issued()
508 || !TEST_true(sk_X509_push(fixture->certs, root)) in test_X509_STORE_only_self_issued()
509 || !TEST_true(sk_X509_push(fixture->certs, intermediate)) in test_X509_STORE_only_self_issued()