Searched refs:dbfile (Results 1 – 4 of 4) sorted by relevance
/freebsd/crypto/openssl/apps/lib/ |
H A D | apps.c | 1636 CA_DB *load_index(const char *dbfile, DB_ATTR *db_attr) in load_index() argument 1648 in = BIO_new_file(dbfile, "r"); in load_index() 1656 "calling fstat(%s)", dbfile); in load_index() 1665 BIO_snprintf(buf, sizeof(buf), "%s.attr", dbfile); in load_index() 1667 BIO_snprintf(buf, sizeof(buf), "%s-attr", dbfile); in load_index() 1690 retdb->dbfname = OPENSSL_strdup(dbfile); in load_index() 1731 int save_index(const char *dbfile, const char *suffix, CA_DB *db) in save_index() argument 1737 j = strlen(dbfile) + strlen(suffix); in save_index() 1743 j = BIO_snprintf(buf[2], sizeof(buf[2]), "%s.attr", dbfile); in save_index() 1744 j = BIO_snprintf(buf[1], sizeof(buf[1]), "%s.attr.%s", dbfile, suffix); in save_index() [all …]
|
/freebsd/contrib/blocklist/bin/ |
H A D | blacklistd.c | 76 static const char *dbfile = _PATH_BLSTATE; variable 434 dbfile = optarg; in main() 527 state = state_open(dbfile, flags, 0600); in main() 529 state = state_open(dbfile, flags | O_CREAT, 0600); in main()
|
/freebsd/crypto/openssl/apps/ |
H A D | ca.c | 286 char *dbfile = NULL, *f; in ca_main() local 560 dbfile = lookup_conf(conf, section, ENV_DATABASE); in ca_main() 561 if (dbfile == NULL) in ca_main() 564 db = load_index(dbfile, &db_attr); in ca_main() 566 … BIO_printf(bio_err, "Problem with index file: %s (could not load/parse file)\n", dbfile); in ca_main() 692 dbfile = lookup_conf(conf, section, ENV_DATABASE); in ca_main() 693 if (dbfile == NULL) in ca_main() 696 db = load_index(dbfile, &db_attr); in ca_main() 698 BIO_printf(bio_err, "Problem with index file: %s (could not load/parse file)\n", dbfile); in ca_main() 754 BIO_printf(bio_err, "Updating %s ...\n", dbfile); in ca_main() [all …]
|
/freebsd/crypto/openssl/apps/include/ |
H A D | apps.h | 233 CA_DB *load_index(const char *dbfile, DB_ATTR *dbattr); 235 int save_index(const char *dbfile, const char *suffix, CA_DB *db); 236 int rotate_index(const char *dbfile, const char *new_suffix,
|