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_1_1_1b~74 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8c175d2d4f1fc630b5da8d4a5aeb85b21105a2b5;p=oweals%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) (cherry picked from commit ac454d8d4663e2fcf8a8437fab8aefd883091c37) --- diff --git a/apps/apps.c b/apps/apps.c index 653e3973e0..79171d1885 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -1561,7 +1561,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;