aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-10-13 23:38:18 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-10-13 23:38:18 +0200
commita4c883147d5d80e437bf51dea865d1191496a040 (patch)
treec7f69bd5dd732d2baf2db7065e58c561a6da48d1
parentb4694f8d06f16ee6fcf834075b28de2cbffa30fe (diff)
downloadlibbrandt-a4c883147d5d80e437bf51dea865d1191496a040.tar.gz
libbrandt-a4c883147d5d80e437bf51dea865d1191496a040.zip
remove test.h dependency from test_brandt.c
-rw-r--r--test_brandt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test_brandt.c b/test_brandt.c
index da74af2..a386124 100644
--- a/test_brandt.c
+++ b/test_brandt.c
@@ -26,7 +26,6 @@
26 26
27#include "brandt.h" 27#include "brandt.h"
28#include "crypto.h" 28#include "crypto.h"
29#include "test.h"
30#include "util.h" 29#include "util.h"
31 30
32 31
@@ -317,12 +316,14 @@ test_auctions ()
317int 316int
318main (int argc, char *argv[]) 317main (int argc, char *argv[])
319{ 318{
319 int ret = 0;
320 struct GNUNET_CRYPTO_EccDlogContext *edc; 320 struct GNUNET_CRYPTO_EccDlogContext *edc;
321 321
322 edc = GNUNET_CRYPTO_ecc_dlog_prepare (1024, 16); 322 edc = GNUNET_CRYPTO_ecc_dlog_prepare (1024, 16);
323 BRANDT_init (edc); 323 BRANDT_init (edc);
324 324
325 RUN (test_auctions); 325 if (!test_auctions())
326 ret = 1;
326 327
327 GNUNET_CRYPTO_ecc_dlog_release (edc); 328 GNUNET_CRYPTO_ecc_dlog_release (edc);
328 return ret; 329 return ret;