summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/auditor/report-lib.c3
-rwxr-xr-xsrc/auditor/test-auditor.sh3
-rw-r--r--src/exchange-tools/taler-exchange-offline.c11
3 files changed, 13 insertions, 4 deletions
diff --git a/src/auditor/report-lib.c b/src/auditor/report-lib.c
index e4f66b31c..248e14e1f 100644
--- a/src/auditor/report-lib.c
+++ b/src/auditor/report-lib.c
@@ -588,6 +588,9 @@ TALER_ARL_init (const struct GNUNET_CONFIGURATION_Handle *c)
GNUNET_free (master_public_key_str);
return GNUNET_SYSERR;
}
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Running auditor against exchange master public key `%s'\n",
+ master_public_key_str);
GNUNET_free (master_public_key_str);
} /* end of -m not given */
diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index f7c0948ff..2e847564f 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -211,7 +211,8 @@ function run_audit () {
pre_audit ${1:-no}
if test ${2:-no} = "drain"
then
- echo -n "Running taler-exchange-offline drain ..."
+ echo -n "Running taler-exchange-offline drain with master public key "
+ gnunet-ecc -p ${DB}.mpriv
cp "${CONF}" "${CONF}.tmp"
taler-config -c "${CONF}.tmp" -s exchange-offline -o MASTER_PRIV_FILE -V ${DB}.mpriv
echo -n "Starting exchange..."
diff --git a/src/exchange-tools/taler-exchange-offline.c b/src/exchange-tools/taler-exchange-offline.c
index a4413a244..839b8e22e 100644
--- a/src/exchange-tools/taler-exchange-offline.c
+++ b/src/exchange-tools/taler-exchange-offline.c
@@ -4265,7 +4265,7 @@ do_extensions_show (char *const *args)
json_dumps (obj,
JSON_INDENT (2)));
json_decref (obj);
- next (args);
+ next (args + 1);
}
@@ -4326,10 +4326,16 @@ do_extensions_sign (char *const *args)
&sig));
output_operation (OP_EXTENSIONS,
obj);
- next (args);
+ next (args + 1);
}
+/**
+ * Dispatch @a args in the @a cmds array.
+ *
+ * @param args arguments with subcommand to dispatch
+ * @param cmds array of possible subcommands to call
+ */
static void
cmd_handler (char *const *args,
const struct SubCommand *cmds)
@@ -4397,7 +4403,6 @@ do_work_extensions (char *const *args)
}
cmd_handler (args, cmds);
- next (args + 1);
}