aboutsummaryrefslogtreecommitdiff
path: root/test_crypto.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-13 14:19:24 +0200
committerChristian Grothoff <christian@grothoff.org>2016-07-13 14:19:24 +0200
commit81cb7d524196dcfcd50f0080602d861305de642d (patch)
tree2e2ef297bb09231d937291550d03ab7823b7b21d /test_crypto.c
parent1c1a4723fe5bc7e0f2dc0fef493b8bcda01f7dd0 (diff)
avoid stupidity
Diffstat (limited to 'test_crypto.c')
-rw-r--r--test_crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_crypto.c b/test_crypto.c
index 83fdce6..62cf263 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++)
{