Make ca command silently use default if .attr file does not exist
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 21 Sep 2018 07:05:16 +0000 (09:05 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 21 Jan 2019 14:53:32 +0000 (15:53 +0100)
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7286)

(cherry picked from commit ac454d8d4663e2fcf8a8437fab8aefd883091c37)

apps/apps.c

index 653e3973e04da7d4ce3de1f4ece0fc8e192ee41e..79171d18852e7d986cf4618651ab0cc33a90f043 100644 (file)
@@ -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;