summaryrefslogtreecommitdiff
path: root/src/anastasis/anastasis-gtk_action.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/anastasis/anastasis-gtk_action.c')
-rw-r--r--src/anastasis/anastasis-gtk_action.c8
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)
{