Lines Matching refs:store
58 static X509_STORE* store = NewRootCertStore();
59 return store;
117 // Try getting issuer from a cert store
125 // no need to free `store`
221 X509_STORE* store = X509_STORE_new();
224 X509_STORE_load_locations(store, system_cert_path, nullptr);
230 X509_STORE_set_default_paths(store);
234 X509_STORE_add_cert(store, cert);
238 return store;
778 auto store = GetOrCreateRootCertStore();
780 // Increment reference count so global store is not deleted along with CTX.
781 X509_STORE_up_ref(store);
782 SSL_CTX_set_cert_store(ctx_.get(), store);
1338 X509_STORE* store,
1349 X509_STORE_add_cert(store, x509.get());
1367 X509_STORE* store = GetOrCreateRootCertStore();
1368 if (auto err = AddCertsFromFile(store, file.c_str())) {