anastasis-gtk

Demonstrator GUI for Anastasis
Log | Files | Refs | README | LICENSE

commit c1885fe5d37f34708952e031cb4430ca12158b74
parent 3e570a524ba72f8db6c90b32a6812be401ae4767
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 13 Apr 2022 19:10:22 +0200

-fix #7050

Diffstat:
Msrc/anastasis/anastasis-gtk_action.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/anastasis/anastasis-gtk_action.c b/src/anastasis/anastasis-gtk_action.c @@ -1673,7 +1673,7 @@ find_challenge_by_uuid (const char *uuid) rd = json_object_get (AG_redux_state, "recovery_document"); cs = json_object_get (rd, - "cs"); + "challenges"); json_array_foreach (cs, index, c) { const char *u; @@ -2296,7 +2296,7 @@ add_challenge (GtkBox *challenge_box, json_t *challenge; challenges = json_object_get (rd, - "cs"); + "challenges"); /* TODO: change data structure to have 'uuid' as the index into the 'challenges' object, instead of this 'challenges' being an array */ @@ -2525,7 +2525,7 @@ action_challenge_selecting (void) rd = json_object_get (AG_redux_state, "recovery_document"); policies = json_object_get (rd, - "dps"); + "decryption_policies"); GNUNET_assert (NULL != policies); policy_box = GTK_BOX (GCG_get_main_window_object ( "anastasis_gtk_policy_vbox")); @@ -2574,7 +2574,7 @@ action_challenge_selecting (void) "recovery_document"); GNUNET_assert (NULL != rd); challenges = json_object_get (rd, - "cs"); + "challenges"); GNUNET_assert (NULL != challenges); json_array_foreach (challenges, index, challenge) {