diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-10-13 23:38:18 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-10-13 23:38:18 +0200 |
commit | a4c883147d5d80e437bf51dea865d1191496a040 (patch) | |
tree | c7f69bd5dd732d2baf2db7065e58c561a6da48d1 | |
parent | b4694f8d06f16ee6fcf834075b28de2cbffa30fe (diff) | |
download | libbrandt-a4c883147d5d80e437bf51dea865d1191496a040.tar.gz libbrandt-a4c883147d5d80e437bf51dea865d1191496a040.zip |
remove test.h dependency from test_brandt.c
-rw-r--r-- | test_brandt.c | 5 |
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 () | |||
317 | int | 316 | int |
318 | main (int argc, char *argv[]) | 317 | main (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; |