Make ca command silently use default if .attr file does not exist
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7286)
This commit is contained in:
parent
c8f370485c
commit
ac454d8d46
1 changed files with 1 additions and 1 deletions
|
@ -1557,7 +1557,7 @@ CA_DB *load_index(const char *dbfile, DB_ATTR *db_attr)
|
||||||
#else
|
#else
|
||||||
BIO_snprintf(buf, sizeof(buf), "%s-attr", dbfile);
|
BIO_snprintf(buf, sizeof(buf), "%s-attr", dbfile);
|
||||||
#endif
|
#endif
|
||||||
dbattr_conf = app_load_config(buf);
|
dbattr_conf = app_load_config_quiet(buf);
|
||||||
|
|
||||||
retdb = app_malloc(sizeof(*retdb), "new DB");
|
retdb = app_malloc(sizeof(*retdb), "new DB");
|
||||||
retdb->db = tmpdb;
|
retdb->db = tmpdb;
|
||||||
|
|
Loading…
Reference in a new issue