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-Tag: openssl-3.0.0-alpha1~2631 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ac454d8d4663e2fcf8a8437fab8aefd883091c37;p=thirdparty%2Fopenssl.git 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 67d28eeb9fb..ed1b618a534 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;