remove test.h dependency from test_brandt.c

This commit is contained in:
Markus Teich 2016-10-13 23:38:18 +02:00
parent b4694f8d06
commit a4c883147d

View File

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