libopensc: Log what configuration file is used

This simplifies debugging
This commit is contained in:
Jakub Jelen 2018-01-10 13:13:48 +01:00 committed by Frank Morgner
parent a7b066cc83
commit ed0cfbd808
1 changed files with 1 additions and 0 deletions

View File

@ -676,6 +676,7 @@ static void process_config_file(sc_context_t *ctx, struct _sc_ctx_options *opts)
if (!conf_path)
conf_path = OPENSC_CONF_PATH;
#endif
sc_log(ctx, "Using configuration file '%s'", conf_path);
ctx->conf = scconf_new(conf_path);
if (ctx->conf == NULL)
return;