aboutsummaryrefslogtreecommitdiff
path: root/test_crypto.c
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-09-23 17:35:31 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-09-23 17:35:31 +0200
commitf9394ba74208eacf5e4d7a0ca354394d4a34c982 (patch)
treefa3ebaa777356a78f0eaef641fce69b96fc7b46e /test_crypto.c
parent5a9e4cca4050316d4d8a826282cbaa12804586b3 (diff)
test_brandt: actually check the outcome correctnes
Diffstat (limited to 'test_crypto.c')
-rw-r--r--test_crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test_crypto.c b/test_crypto.c
index cfc6160..c2f5231 100644
--- a/test_crypto.c
+++ b/test_crypto.c
@@ -191,7 +191,7 @@ test_setup_auction_data ()
ad[i].n = bidders;
ad[i].i = i;
ad[i].k = prizes;
- ad[i].b = 2 * i;
+ ad[i].b = i;
}
return 1;
}
@@ -330,7 +330,7 @@ main (int argc, char *argv[])
struct GNUNET_CRYPTO_EccDlogContext *edc;
bidders = 3;
- prizes = 6;
+ prizes = 3;
edc = GNUNET_CRYPTO_ecc_dlog_prepare (1024, 16);
BRANDT_init (edc);