aboutsummaryrefslogtreecommitdiff
path: root/src/benchmark
diff options
context:
space:
mode:
authorGian Demarmels <gian@demarmels.org>2022-01-09 16:49:27 +0100
committerGian Demarmels <gian@demarmels.org>2022-02-04 15:36:08 +0100
commit9c2aefaa515ce8d493bfe4de4eab9edc09d5447e (patch)
treea12da09f8fedb383be5baa9bc1e8f597e4071448 /src/benchmark
parent9074e66ebc8b73ecc98500f32af52088fd7f0722 (diff)
removed varargs
Diffstat (limited to 'src/benchmark')
-rw-r--r--src/benchmark/taler-aggregator-benchmark.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/benchmark/taler-aggregator-benchmark.c b/src/benchmark/taler-aggregator-benchmark.c
index 47314abe9..3584c811b 100644
--- a/src/benchmark/taler-aggregator-benchmark.c
+++ b/src/benchmark/taler-aggregator-benchmark.c
@@ -490,7 +490,7 @@ run (void *cls,
struct TALER_CoinPubHash c_hash;
struct TALER_PlanchetDetail pd;
struct TALER_BlindedDenominationSignature bds;
- union TALER_DenominationBlindingKeyP bks;
+ struct TALER_PlanchetSecretsP ps;
struct TALER_CoinSpendPublicKeyP coin_pub;
RANDOMIZE (&coin_pub);
@@ -518,10 +518,11 @@ run (void *cls,
return;
}
- TALER_blinding_secret_create (&bks, TALER_DENOMINATION_RSA);
+
+ TALER_planchet_blinding_secret_create (&ps, TALER_DENOMINATION_RSA);
GNUNET_assert (GNUNET_OK ==
TALER_denom_blind (&denom_pub,
- &bks,
+ &ps.blinding_key,
NULL, /* FIXME-oec */
&coin_pub,
&c_hash,
@@ -534,7 +535,7 @@ run (void *cls,
GNUNET_assert (GNUNET_OK ==
TALER_denom_sig_unblind (&denom_sig,
&bds,
- &bks,
+ &ps.blinding_key,
&denom_pub));
TALER_blinded_denom_sig_free (&bds);
TALER_denom_pub_free (&denom_pub);