Lines Matching full:chain_store
265 if (cert->chain_store) {
266 CRYPTO_refcount_inc(&cert->chain_store->references);
267 ret->chain_store = cert->chain_store;
315 X509_STORE_free(c->chain_store);
782 X509_STORE *chain_store;
789 if (s->cert->chain_store) {
790 chain_store = s->cert->chain_store;
792 chain_store = s->ctx->cert_store;
820 if (!X509_STORE_CTX_init(&xs_ctx, chain_store, x, NULL)) {
842 int ssl_build_cert_chain(CERT *c, X509_STORE *chain_store, int flags) {
858 chain_store = X509_STORE_new();
859 if (!chain_store) {
865 if (!X509_STORE_add_cert(chain_store, x)) {
876 if (!X509_STORE_add_cert(chain_store, cpk->x509)) {
885 if (c->chain_store) {
886 chain_store = c->chain_store;
894 if (!X509_STORE_CTX_init(&xs_ctx, chain_store, cpk->x509, untrusted)) {
948 X509_STORE_free(chain_store);
957 pstore = &c->chain_store;