summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-26 16:40:43 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-26 16:40:43 +0100
commitad12b72a8035c89c673019d3068fe977cc159706 (patch)
treec5402fdaf6b1c61e5430096afdfcad47c7608326
parent77d49bf4a7958fec21a91c36c5bfbf36b59f2739 (diff)
downloadexchange-ad12b72a8035c89c673019d3068fe977cc159706.tar.gz
exchange-ad12b72a8035c89c673019d3068fe977cc159706.tar.bz2
exchange-ad12b72a8035c89c673019d3068fe977cc159706.zip
handle GONE, specified legal value now
-rw-r--r--src/lib/auditor_api_deposit_confirmation.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/auditor_api_deposit_confirmation.c b/src/lib/auditor_api_deposit_confirmation.c
index aee8850d..b2126230 100644
--- a/src/lib/auditor_api_deposit_confirmation.c
+++ b/src/lib/auditor_api_deposit_confirmation.c
@@ -120,6 +120,13 @@ handle_deposit_confirmation_finished (void *cls,
/* Nothing really to verify, this should never
happen, we should pass the JSON reply to the application */
break;
+ case MHD_HTTP_GONE:
+ hr.ec = TALER_JSON_get_error_code (json);
+ hr.hint = TALER_JSON_get_error_hint (json);
+ /* Nothing really to verify, auditor says one of the signatures is
+ invalid; as we checked them, this should never happen, we
+ should pass the JSON reply to the application */
+ break;
case MHD_HTTP_INTERNAL_SERVER_ERROR:
hr.ec = TALER_JSON_get_error_code (json);
hr.hint = TALER_JSON_get_error_hint (json);
@@ -134,7 +141,6 @@ handle_deposit_confirmation_finished (void *cls,
"Unexpected response code %u/%d for auditor deposit confirmation\n",
(unsigned int) response_code,
hr.ec);
- GNUNET_break_op (0);
break;
}
dh->cb (dh->cb_cls,