Lines Matching refs:store
39 #include <openssl/store.h>
47 #include <openssl/store.h>
750 static X509_STORE *sk_X509_to_store(X509_STORE *store /* may be NULL */,
755 if (store == NULL)
756 store = X509_STORE_new();
757 if (store == NULL)
760 if (!X509_STORE_add_cert(store, sk_X509_value(certs, i))) {
761 X509_STORE_free(store);
765 return store;
769 * Create cert store structure with certificates read from given file(s).
775 X509_STORE *store = NULL;
783 X509_STORE_free(store);
786 ok = (store = sk_X509_to_store(store, certs)) != NULL;
793 return store;
1362 X509_STORE *store = X509_STORE_new();
1367 if (store == NULL)
1371 lookup = X509_STORE_add_lookup(store, X509_LOOKUP_file());
1387 lookup = X509_STORE_add_lookup(store, X509_LOOKUP_hash_dir());
1401 lookup = X509_STORE_add_lookup(store, X509_LOOKUP_store());
1406 BIO_printf(bio_err, "Error loading store URI %s\n", CAstore);
1412 return store;
1415 X509_STORE_free(store);
1485 BIO_printf(bio_err, "Error creating random number to store in %s\n",