diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-11-12 20:35:50 +0100 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-11-20 13:36:30 +0100 |
commit | 0e7bc901bf4675b5fb05dfdd98647ec141781f45 (patch) | |
tree | 19df0af1af12043730acee70b10a07d777a4a0a0 /apps/cmp.c | |
parent | 9498dac4dbda1a4f2eb5e6573df05bc295dc272c (diff) |
apps/cmp.c: Add diagnostics on config file section(s) used
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13409)
Diffstat (limited to 'apps/cmp.c')
-rw-r--r-- | apps/cmp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/cmp.c b/apps/cmp.c index c3efdfbbe9..cef625b68f 100644 --- a/apps/cmp.c +++ b/apps/cmp.c @@ -2660,10 +2660,10 @@ int cmp_main(int argc, char **argv) /* read default values for options from config file */ configfile = opt_config != NULL ? opt_config : default_config_file; - if (configfile && configfile[0] != '\0' /* non-empty string */ - && (configfile != default_config_file - || access(configfile, F_OK) != -1)) { - CMP_info1("using OpenSSL configuration file '%s'", configfile); + if (configfile != NULL && configfile[0] != '\0' /* non-empty string */ + && (configfile != default_config_file || access(configfile, F_OK) != -1)) { + CMP_info2("using section(s) '%s' of OpenSSL configuration file '%s'", + opt_section, configfile); conf = app_load_config(configfile); if (conf == NULL) { goto err; |