Searched refs:dbfile (Results 1 – 3 of 3) sorted by relevance
/external/openssl/apps/ |
D | apps.c | 1787 CA_DB *load_index(char *dbfile, DB_ATTR *db_attr) in load_index() argument 1801 if (BIO_read_filename(in,dbfile) <= 0) in load_index() 1803 perror(dbfile); in load_index() 1804 BIO_printf(bio_err,"unable to open '%s'\n",dbfile); in load_index() 1811 BIO_snprintf(buf[0], sizeof buf[0], "%s.attr", dbfile); in load_index() 1813 BIO_snprintf(buf[0], sizeof buf[0], "%s-attr", dbfile); in load_index() 1890 int save_index(const char *dbfile, const char *suffix, CA_DB *db) in save_index() argument 1902 j = strlen(dbfile) + strlen(suffix); in save_index() 1910 j = BIO_snprintf(buf[2], sizeof buf[2], "%s.attr", dbfile); in save_index() 1912 j = BIO_snprintf(buf[2], sizeof buf[2], "%s-attr", dbfile); in save_index() [all …]
|
D | apps.h | 301 CA_DB *load_index(char *dbfile, DB_ATTR *dbattr); 303 int save_index(const char *dbfile, const char *suffix, CA_DB *db); 304 int rotate_index(const char *dbfile, const char *new_suffix, const char *old_suffix);
|
D | ca.c | 301 char *dbfile=NULL; in MAIN() local 713 if ((dbfile=NCONF_get_string(conf,section,ENV_DATABASE)) == NULL) in MAIN() 718 db = load_index(dbfile,&db_attr); in MAIN() 876 if ((dbfile=NCONF_get_string(conf,section,ENV_DATABASE)) == NULL) in MAIN() 881 db = load_index(dbfile, &db_attr); in MAIN() 952 dbfile); in MAIN() 967 if (!save_index(dbfile,"new",db)) goto err; in MAIN() 969 if (!rotate_index(dbfile,"new","old")) goto err; in MAIN() 1283 if (!save_index(dbfile, "new", db)) goto err; in MAIN() 1347 if (!rotate_index(dbfile,"new","old")) goto err; in MAIN() [all …]
|