summaryrefslogtreecommitdiff
path: root/src/restclient
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/restclient
parent979b9ed5f672a74ec06c0c330f80e28c842e4e29 (diff)
downloadanastasis-e9c63cf3194aacb950026bec8ff2201f1d1f5418.tar.gz
anastasis-e9c63cf3194aacb950026bec8ff2201f1d1f5418.tar.bz2
anastasis-e9c63cf3194aacb950026bec8ff2201f1d1f5418.zip
fix #7218 and #7219
Diffstat (limited to 'src/restclient')
-rw-r--r--src/restclient/anastasis_api_truth_challenge.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/restclient/anastasis_api_truth_challenge.c b/src/restclient/anastasis_api_truth_challenge.c
index 76e9ec5..606bcfb 100644
--- a/src/restclient/anastasis_api_truth_challenge.c
+++ b/src/restclient/anastasis_api_truth_challenge.c
@@ -161,6 +161,12 @@ handle_truth_challenge_finished (void *cls,
tcd.details.success.details.tan_address_hint = tan_hint;
break;
}
+ if (0 == strcmp (ct,
+ "TAN_ALREADY_SENT"))
+ {
+ tcd.details.success.cs = ANASTASIS_CS_TAN_ALREADY_SENT;
+ break;
+ }
if ( (0 == strcmp (ct,
"FILE_WRITTEN")) &&
(NULL != filename) )