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) |
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 @@ #include "brandt.h" #include "crypto.h" -#include "test.h" #include "util.h" @@ -317,12 +316,14 @@ test_auctions () int main (int argc, char *argv[]) { + int ret = 0; struct GNUNET_CRYPTO_EccDlogContext *edc; edc = GNUNET_CRYPTO_ecc_dlog_prepare (1024, 16); BRANDT_init (edc); - RUN (test_auctions); + if (!test_auctions()) + ret = 1; GNUNET_CRYPTO_ecc_dlog_release (edc); return ret; |