diff options
| -rw-r--r-- | crypto.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| @@ -1191,6 +1191,9 @@ fp_pub_determine_outcome (struct BRANDT_Auction *ad,  	dlogi = GNUNET_CRYPTO_ecc_dlog (ec_dlogctx, sum_gamma);  	brandt_assert (dlogi > 0); +	/* all bidders participated with a multiplicative share */ +	dlogi /= ad->n; +  	/* can only support up to bits(dlogi) bidders */  	brandt_assert (sizeof (int) * 8 - 1 >= ad->n);  	for (uint16_t i = 0; i < ad->n; i++) | 
