summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-04-06 14:32:53 +0200
committerChristian Grothoff <grothoff@gnunet.org>2022-04-06 14:32:53 +0200
commite9c63cf3194aacb950026bec8ff2201f1d1f5418 (patch)
tree02115e9216f058cb2de582adcffe06019cb5d87e /src/backend
parent979b9ed5f672a74ec06c0c330f80e28c842e4e29 (diff)
downloadanastasis-e9c63cf3194aacb950026bec8ff2201f1d1f5418.tar.gz
anastasis-e9c63cf3194aacb950026bec8ff2201f1d1f5418.tar.bz2
anastasis-e9c63cf3194aacb950026bec8ff2201f1d1f5418.zip
fix #7218 and #7219
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/anastasis-httpd_truth-challenge.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/backend/anastasis-httpd_truth-challenge.c b/src/backend/anastasis-httpd_truth-challenge.c
index b03c883..98ae524 100644
--- a/src/backend/anastasis-httpd_truth-challenge.c
+++ b/src/backend/anastasis-httpd_truth-challenge.c
@@ -1295,10 +1295,11 @@ AH_handler_truth_challenge (
{
/* Too early for a retransmission! */
GNUNET_free (decrypted_truth);
- return TALER_MHD_reply_with_error (gc->connection,
- MHD_HTTP_ALREADY_REPORTED,
- TALER_EC_ANASTASIS_TRUTH_CHALLENGE_ACTIVE,
- NULL);
+ return TALER_MHD_REPLY_JSON_PACK (
+ gc->connection,
+ MHD_HTTP_OK,
+ GNUNET_JSON_pack_string ("challenge_type",
+ "TAN_ALREADY_SENT"));
}
}