Lines Matching refs:db
1709 retdb->db = tmpdb; in load_index()
1739 int index_index(CA_DB *db) in index_index() argument
1741 if (!TXT_DB_create_index(db->db, DB_serial, NULL, in index_index()
1746 db->db->error, db->db->arg1, db->db->arg2); in index_index()
1750 if (db->attributes.unique_subject in index_index()
1751 && !TXT_DB_create_index(db->db, DB_name, index_name_qual, in index_index()
1755 db->db->error, db->db->arg1, db->db->arg2); in index_index()
1764 int save_index(const char *dbfile, const char *suffix, CA_DB *db) in save_index() argument
1790 j = TXT_DB_write(out, db->db); in save_index()
1802 db->attributes.unique_subject ? "yes" : "no"); in save_index()
1878 void free_index(CA_DB *db) in free_index() argument
1880 if (db) { in free_index()
1881 TXT_DB_free(db->db); in free_index()
1882 OPENSSL_free(db->dbfname); in free_index()
1883 OPENSSL_free(db); in free_index()