aboutsummaryrefslogtreecommitdiff
path: root/test_crypto.c
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-07-13 14:20:18 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-07-13 14:20:18 +0200
commit668876d47468c0e32b53361c8f3c2af7d1bef175 (patch)
tree6530aba11f36ae985db6402c9069b3afe47a3198 /test_crypto.c
parent551ca1d657651fffd624539e7a1d039a7d2180db (diff)
parent81cb7d524196dcfcd50f0080602d861305de642d (diff)
Merge branch 'master' of gnunet.org:libbrandt
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 fedcce9..2ea2033 100644
--- a/test_crypto.c
+++ b/test_crypto.c
@@ -186,7 +186,7 @@ test_setup_auction_data ()
{
uint16_t i;
- ad = calloc (bidders, sizeof (struct BRANDT_Auction));
+ ad = GNUNET_new_array (bidders, struct BRANDT_Auction);
for (i = 0; i < bidders; i++)
{
@@ -364,7 +364,7 @@ cleanup_auction_data ()
int
main (int argc, char *argv[])
{
- int repeat = 8;
+ int repeat = 1;
struct GNUNET_CRYPTO_EccDlogContext *edc;
bidders = 2;