diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-04-13 19:10:42 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-04-13 19:10:42 +0200 |
commit | 1398cca51c44709cd990fc7ed7b854b802004a97 (patch) | |
tree | 83a0278d2167a0510f0b348b33733e4cec25187f /src/reducer/anastasis_api_recovery_redux.c | |
parent | 49aebaedc3d200c8c9ce306f8e3ea5bdc4449a50 (diff) | |
download | anastasis-1398cca51c44709cd990fc7ed7b854b802004a97.tar.gz anastasis-1398cca51c44709cd990fc7ed7b854b802004a97.tar.bz2 anastasis-1398cca51c44709cd990fc7ed7b854b802004a97.zip |
-fix #7050
Diffstat (limited to 'src/reducer/anastasis_api_recovery_redux.c')
-rw-r--r-- | src/reducer/anastasis_api_recovery_redux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reducer/anastasis_api_recovery_redux.c b/src/reducer/anastasis_api_recovery_redux.c index d0c3f2d..de4df1b 100644 --- a/src/reducer/anastasis_api_recovery_redux.c +++ b/src/reducer/anastasis_api_recovery_redux.c @@ -458,7 +458,7 @@ find_challenge_in_ri (json_t *state, /** - * Find challenge of @a uuid in @a state under "cs". + * Find challenge of @a uuid in @a state under "challenges". * * @param state the state to search * @param uuid the UUID to search for @@ -471,7 +471,7 @@ find_challenge_in_cs (json_t *state, json_t *rd = json_object_get (state, "recovery_document"); json_t *cs = json_object_get (rd, - "cs"); + "challenges"); json_t *c; size_t off; @@ -2191,7 +2191,7 @@ sync_providers (json_t *state, return NULL; } cs_arr = json_object_get (rd, - "cs"); + "challenges"); if (! json_is_array (cs_arr)) { GNUNET_break_op (0); |