Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Dssl_cert.c818 X509_STORE_CTX xs_ctx; in ssl_add_cert_chain() local
820 if (!X509_STORE_CTX_init(&xs_ctx, chain_store, x, NULL)) { in ssl_add_cert_chain()
824 X509_verify_cert(&xs_ctx); in ssl_add_cert_chain()
827 for (i = 0; i < sk_X509_num(xs_ctx.chain); i++) { in ssl_add_cert_chain()
828 x = sk_X509_value(xs_ctx.chain, i); in ssl_add_cert_chain()
831 X509_STORE_CTX_cleanup(&xs_ctx); in ssl_add_cert_chain()
835 X509_STORE_CTX_cleanup(&xs_ctx); in ssl_add_cert_chain()
844 X509_STORE_CTX xs_ctx; in ssl_build_cert_chain() local
894 if (!X509_STORE_CTX_init(&xs_ctx, chain_store, cpk->x509, untrusted)) { in ssl_build_cert_chain()
899 i = X509_verify_cert(&xs_ctx); in ssl_build_cert_chain()
[all …]