summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_policy_store.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-17 22:02:08 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-17 22:02:08 +0100
commit3ccacbd78bf720294363648a496b635abe072408 (patch)
treed03414707aebbaaffa7add6a7ca0ea02be1b6ca7 /src/testing/testing_api_cmd_policy_store.c
parent36e8be14334cd619d2847e3e8c1ecc136f402d71 (diff)
downloadanastasis-3ccacbd78bf720294363648a496b635abe072408.tar.gz
anastasis-3ccacbd78bf720294363648a496b635abe072408.tar.bz2
anastasis-3ccacbd78bf720294363648a496b635abe072408.zip
make anastasis build against latest Exchange
Diffstat (limited to 'src/testing/testing_api_cmd_policy_store.c')
-rw-r--r--src/testing/testing_api_cmd_policy_store.c22
1 files changed, 7 insertions, 15 deletions
diff --git a/src/testing/testing_api_cmd_policy_store.c b/src/testing/testing_api_cmd_policy_store.c
index 524ad92..d1ee3c0 100644
--- a/src/testing/testing_api_cmd_policy_store.c
+++ b/src/testing/testing_api_cmd_policy_store.c
@@ -229,7 +229,6 @@ policy_store_run (void *cls,
if (GNUNET_OK !=
ANASTASIS_TESTING_get_trait_account_priv (ref,
- 0,
&priv))
{
GNUNET_break (0);
@@ -243,7 +242,6 @@ policy_store_run (void *cls,
if (GNUNET_OK !=
ANASTASIS_TESTING_get_trait_account_pub (ref,
- 0,
&pub))
{
GNUNET_break (0);
@@ -257,7 +255,6 @@ policy_store_run (void *cls,
if (GNUNET_OK !=
ANASTASIS_TESTING_get_trait_payment_secret (ref,
- 0,
&ps))
{
GNUNET_break (0);
@@ -341,18 +338,13 @@ policy_store_traits (void *cls,
{
struct PolicyStoreState *pss = cls;
struct TALER_TESTING_Trait traits[] = {
- TALER_TESTING_make_trait_claim_token (0,
- &pss->claim_token),
- TALER_TESTING_make_trait_order_id (0,
- pss->order_id),
- ANASTASIS_TESTING_make_trait_hash (0,
- &pss->curr_hash),
- ANASTASIS_TESTING_make_trait_account_pub (0,
- &pss->anastasis_pub),
- ANASTASIS_TESTING_make_trait_account_priv (0,
- &pss->anastasis_priv),
- ANASTASIS_TESTING_make_trait_payment_secret (0,
- &pss->payment_secret_response),
+ TALER_TESTING_make_trait_claim_token (&pss->claim_token),
+ TALER_TESTING_make_trait_order_id (
+ (const char **) &pss->order_id),
+ ANASTASIS_TESTING_make_trait_hash (&pss->curr_hash),
+ ANASTASIS_TESTING_make_trait_account_pub (&pss->anastasis_pub),
+ ANASTASIS_TESTING_make_trait_account_priv (&pss->anastasis_priv),
+ ANASTASIS_TESTING_make_trait_payment_secret (&pss->payment_secret_response),
TALER_TESTING_trait_end ()
};