aboutsummaryrefslogtreecommitdiff
path: root/mp_pub.c
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-12-02 12:53:54 +0100
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-12-02 12:53:54 +0100
commite66cbbe44f3708e6d6a30b216035bcccfc8e7207 (patch)
tree5329f963c2eee3af18976862cdfdf9e344dfd109 /mp_pub.c
parent64689a9083fd11a1e482cc86c0417183cdc76ece (diff)
move ecdlogctx passing to _join()/_new() functions
Diffstat (limited to 'mp_pub.c')
-rw-r--r--mp_pub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mp_pub.c b/mp_pub.c
index 712c148..661a4de 100644
--- a/mp_pub.c
+++ b/mp_pub.c
@@ -486,7 +486,7 @@ mp_pub_determine_outcome (struct BRANDT_Auction *ad,
smc_sum (sum_phi, &ad->phi3[0][1][price], ad->n, 2 * ad->k);
gcry_mpi_ec_sub (sum_gamma, sum_gamma, sum_phi, ec_ctx);
- dlogi = GNUNET_CRYPTO_ecc_dlog (ec_dlogctx, sum_gamma);
+ dlogi = GNUNET_CRYPTO_ecc_dlog (ad->dlogctx, sum_gamma);
brandt_assert (dlogi > 0);
/* all bidders participated with a multiplicative share */