diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-20 20:03:59 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-20 20:03:59 +0100 |
commit | 4b9fb610d81c47fbd8613cb71a4f25ce6b2d2993 (patch) | |
tree | 4780bcb1ed882dee315bd11ac1033ac333704654 /src/lib/exchange_api_handle.c | |
parent | d986555355de315121f1285c04ccc89082ba9755 (diff) |
do not log error on MHD_HTTP_GONE status code, revocation is a legitimate reply
Diffstat (limited to 'src/lib/exchange_api_handle.c')
-rw-r--r-- | src/lib/exchange_api_handle.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/exchange_api_handle.c b/src/lib/exchange_api_handle.c index 49af08b13..f45025d0f 100644 --- a/src/lib/exchange_api_handle.c +++ b/src/lib/exchange_api_handle.c @@ -790,6 +790,9 @@ decode_keys_json (const json_t *resp_obj, GNUNET_break_op (0); return GNUNET_SYSERR; } + json_dumpf (resp_obj, + stderr, + JSON_INDENT (2)); /* check the version */ { const char *ver; @@ -2023,6 +2026,9 @@ TALER_EXCHANGE_test_signing_key (const struct TALER_EXCHANGE_Keys *keys, (0 == GNUNET_memcmp (pub, &keys->sign_keys[i].key)) ) return GNUNET_OK; + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "Signing key not valid at time %llu\n", + (unsigned long long) now.abs_value_us); return GNUNET_SYSERR; } |