aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_cmd_truth_upload.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_cmd_truth_upload.c')
-rw-r--r--src/testing/testing_cmd_truth_upload.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/testing/testing_cmd_truth_upload.c b/src/testing/testing_cmd_truth_upload.c
index 89ba790..2e3523b 100644
--- a/src/testing/testing_cmd_truth_upload.c
+++ b/src/testing/testing_cmd_truth_upload.c
@@ -208,19 +208,20 @@ truth_upload_run (void *cls,
208 ANASTASIS_CRYPTO_user_identifier_derive (tus->id_data, 208 ANASTASIS_CRYPTO_user_identifier_derive (tus->id_data,
209 provider_salt, 209 provider_salt,
210 &user_id); 210 &user_id);
211 tus->tuo = ANASTASIS_truth_upload (is->ctx, 211 tus->tuo = ANASTASIS_truth_upload (
212 &user_id, 212 TALER_TESTING_interpreter_get_context (is),
213 tus->anastasis_url, 213 &user_id,
214 tus->method, 214 tus->anastasis_url,
215 tus->instructions, 215 tus->method,
216 tus->mime_type, 216 tus->instructions,
217 provider_salt, 217 tus->mime_type,
218 tus->truth_data, 218 provider_salt,
219 tus->truth_data_size, 219 tus->truth_data,
220 false, /* force payment */ 220 tus->truth_data_size,
221 GNUNET_TIME_UNIT_ZERO, 221 false, /* force payment */
222 &truth_upload_cb, 222 GNUNET_TIME_UNIT_ZERO,
223 tus); 223 &truth_upload_cb,
224 tus);
224 if (NULL == tus->tuo) 225 if (NULL == tus->tuo)
225 { 226 {
226 GNUNET_break (0); 227 GNUNET_break (0);