aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_cmd_recover_secret.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_cmd_recover_secret.c')
-rw-r--r--src/testing/testing_cmd_recover_secret.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/testing/testing_cmd_recover_secret.c b/src/testing/testing_cmd_recover_secret.c
index 153143d..3b12012 100644
--- a/src/testing/testing_cmd_recover_secret.c
+++ b/src/testing/testing_cmd_recover_secret.c
@@ -67,11 +67,6 @@ struct RecoverSecretState
67 json_t *id_data; 67 json_t *id_data;
68 68
69 /** 69 /**
70 * Salt to be used to derive the id
71 */
72 struct ANASTASIS_CRYPTO_ProviderSaltP *salt;
73
74 /**
75 * Recovery information from the lookup 70 * Recovery information from the lookup
76 */ 71 */
77 struct ANASTASIS_RecoveryInformation *ri; 72 struct ANASTASIS_RecoveryInformation *ri;
@@ -188,7 +183,7 @@ recover_secret_run (void *cls,
188{ 183{
189 struct RecoverSecretState *rss = cls; 184 struct RecoverSecretState *rss = cls;
190 const struct TALER_TESTING_Command *ref; 185 const struct TALER_TESTING_Command *ref;
191 const struct ANASTASIS_CRYPTO_ProviderSaltP *salt; 186 const struct ANASTASIS_CRYPTO_ProviderSaltP *provider_salt;
192 rss->is = is; 187 rss->is = is;
193 188
194 if (NULL != rss->download_reference) 189 if (NULL != rss->download_reference)
@@ -203,8 +198,8 @@ recover_secret_run (void *cls,
203 return; 198 return;
204 } 199 }
205 if (GNUNET_OK != 200 if (GNUNET_OK !=
206 ANASTASIS_TESTING_get_trait_salt (ref, 201 ANASTASIS_TESTING_get_trait_provider_salt (ref,
207 &salt)) 202 &provider_salt))
208 { 203 {
209 GNUNET_break (0); 204 GNUNET_break (0);
210 TALER_TESTING_interpreter_fail (rss->is); 205 TALER_TESTING_interpreter_fail (rss->is);
@@ -236,7 +231,7 @@ recover_secret_run (void *cls,
236 rss->id_data, 231 rss->id_data,
237 rss->version, 232 rss->version,
238 rss->anastasis_url, 233 rss->anastasis_url,
239 salt, 234 provider_salt,
240 &policy_lookup_cb, 235 &policy_lookup_cb,
241 rss, 236 rss,
242 &core_secret_cb, 237 &core_secret_cb,