Lines Matching defs:chain_store
186 if (cert->chain_store) {
187 X509_STORE_up_ref(cert->chain_store);
188 ret->chain_store = cert->chain_store;
252 X509_STORE_free(c->chain_store);
878 X509_STORE *chain_store = NULL;
891 chain_store = X509_STORE_new();
892 if (chain_store == NULL)
896 if (!X509_STORE_add_cert(chain_store, x))
900 if (!X509_STORE_add_cert(chain_store, cpk->x509))
903 if (c->chain_store)
904 chain_store = c->chain_store;
906 chain_store = s->ctx->cert_store;
908 chain_store = ctx->cert_store;
919 if (!X509_STORE_CTX_init(xs_ctx, chain_store, cpk->x509, untrusted)) {
976 X509_STORE_free(chain_store);
986 pstore = &c->chain_store;
998 *pstore = (chain ? c->chain_store : c->verify_store);