From: Bernd Edlinger Date: Fri, 21 Sep 2018 07:05:16 +0000 (+0200) Subject: Make ca command silently use default if .attr file does not exist X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac454d8d4663e2fcf8a8437fab8aefd883091c37;p=openssl Make ca command silently use default if .attr file does not exist Reviewed-by: Nicola Tuveri Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/7286) --- diff --git a/apps/apps.c b/apps/apps.c index 67d28eeb9f..ed1b618a53 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -1557,7 +1557,7 @@ CA_DB *load_index(const char *dbfile, DB_ATTR *db_attr) #else BIO_snprintf(buf, sizeof(buf), "%s-attr", dbfile); #endif - dbattr_conf = app_load_config(buf); + dbattr_conf = app_load_config_quiet(buf); retdb = app_malloc(sizeof(*retdb), "new DB"); retdb->db = tmpdb;