diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-01-17 17:52:39 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-01-17 17:52:39 +0100 |
commit | c60e6184fd6552d5bb67f70a5a8a2502c9a74ee4 (patch) | |
tree | 44d0b703fe553cafaf72fb25e6129e809eae08c1 /src/exchange-tools/taler-exchange-offline.c | |
parent | abb692f02dfc3c69b6545f7eb69552c0a047c3a2 (diff) | |
download | exchange-c60e6184fd6552d5bb67f70a5a8a2502c9a74ee4.tar.xz |
terminate taler-exchange-offline on invalid inputs
Diffstat (limited to 'src/exchange-tools/taler-exchange-offline.c')
-rw-r--r-- | src/exchange-tools/taler-exchange-offline.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/exchange-tools/taler-exchange-offline.c b/src/exchange-tools/taler-exchange-offline.c index a8a25bd3c..eb64a6c9d 100644 --- a/src/exchange-tools/taler-exchange-offline.c +++ b/src/exchange-tools/taler-exchange-offline.c @@ -3322,7 +3322,7 @@ tofu_check (const struct TALER_SecurityModulePublicKeySetP *secmset) * @param signkeys keys to output * @return #GNUNET_OK on success */ -static int +static enum GNUNET_GenericReturnValue show_signkeys (const struct TALER_SecurityModulePublicKeyP *secm_pub, const json_t *signkeys) { @@ -4353,6 +4353,9 @@ cmd_handler (char *const *args, cmds[i].name, cmds[i].help); } + json_decref (out); + out = NULL; + GNUNET_SCHEDULER_shutdown (); } |