diff options
Diffstat (limited to 'src/exchange-tools/taler-auditor-offline.c')
-rw-r--r-- | src/exchange-tools/taler-auditor-offline.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/exchange-tools/taler-auditor-offline.c b/src/exchange-tools/taler-auditor-offline.c index 17ae10834..81e2bfeb7 100644 --- a/src/exchange-tools/taler-auditor-offline.c +++ b/src/exchange-tools/taler-auditor-offline.c | |||
@@ -884,9 +884,9 @@ parse_keys (const char *command_name) | |||
884 | { | 884 | { |
885 | json_error_t err; | 885 | json_error_t err; |
886 | 886 | ||
887 | out = json_loadf (stdin, | 887 | in = json_loadf (stdin, |
888 | JSON_REJECT_DUPLICATES, | 888 | JSON_REJECT_DUPLICATES, |
889 | &err); | 889 | &err); |
890 | if (NULL == in) | 890 | if (NULL == in) |
891 | { | 891 | { |
892 | fprintf (stderr, | 892 | fprintf (stderr, |
@@ -958,7 +958,11 @@ do_show (char *const *args) | |||
958 | 958 | ||
959 | keys = parse_keys ("show"); | 959 | keys = parse_keys ("show"); |
960 | if (NULL == keys) | 960 | if (NULL == keys) |
961 | { | ||
962 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | ||
963 | "Showing failed: no valid input\n"); | ||
961 | return; | 964 | return; |
965 | } | ||
962 | if (GNUNET_OK != | 966 | if (GNUNET_OK != |
963 | GNUNET_JSON_parse (keys, | 967 | GNUNET_JSON_parse (keys, |
964 | spec, | 968 | spec, |
@@ -1155,7 +1159,11 @@ do_sign (char *const *args) | |||
1155 | 1159 | ||
1156 | keys = parse_keys ("sign"); | 1160 | keys = parse_keys ("sign"); |
1157 | if (NULL == keys) | 1161 | if (NULL == keys) |
1162 | { | ||
1163 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | ||
1164 | "Signing failed: no valid input\n"); | ||
1158 | return; | 1165 | return; |
1166 | } | ||
1159 | if (GNUNET_OK != | 1167 | if (GNUNET_OK != |
1160 | load_offline_key (GNUNET_NO)) | 1168 | load_offline_key (GNUNET_NO)) |
1161 | { | 1169 | { |