Lines Matching refs:chain
55 static int verify_chain(SSL *ssl, STACK_OF(X509) *chain) in verify_chain() argument
66 || !TEST_true(X509_STORE_CTX_init(store_ctx, store, NULL, chain)) in verify_chain()
99 STACK_OF(X509) *chain; in STACK_OF()
102 if (!TEST_ptr(chain = sk_X509_new_null())) in STACK_OF()
123 if (!TEST_true(sk_X509_push(chain, cert))) in STACK_OF()
139 return chain; in STACK_OF()
146 OSSL_STACK_OF_X509_free(chain); in STACK_OF()
299 STACK_OF(X509) *chain; in test_tlsafile()
341 if (!TEST_ptr(chain = load_chain(f, ncert))) { in test_tlsafile()
346 ok = verify_chain(ssl, chain); in test_tlsafile()
347 OSSL_STACK_OF_X509_free(chain); in test_tlsafile()