diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-04-13 19:10:22 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-04-13 19:10:35 +0200 |
commit | c1885fe5d37f34708952e031cb4430ca12158b74 (patch) | |
tree | a0d4520619569fe0949b4349f8990587dfe31aea | |
parent | 3e570a524ba72f8db6c90b32a6812be401ae4767 (diff) | |
download | anastasis-gtk-c1885fe5d37f34708952e031cb4430ca12158b74.tar.gz anastasis-gtk-c1885fe5d37f34708952e031cb4430ca12158b74.tar.bz2 anastasis-gtk-c1885fe5d37f34708952e031cb4430ca12158b74.zip |
-fix #7050
-rw-r--r-- | src/anastasis/anastasis-gtk_action.c | 8 |
1 files 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) { |