From c1885fe5d37f34708952e031cb4430ca12158b74 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 13 Apr 2022 19:10:22 +0200 Subject: -fix #7050 --- src/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 index c13885a..1b0d443 100644 --- 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) { -- cgit v1.2.3