update crypto test

This commit is contained in:
Markus Teich 2016-08-19 22:17:24 +02:00
parent f9f74fddd7
commit 4ecb428b28
2 changed files with 4 additions and 5 deletions

View File

@ -89,7 +89,6 @@ AS_IF([test $libgnunetutil != 1],
# restore LIBS
LIBS=$SAVE_LIBS
# Adam shostack suggests the following for Windows:
# -D_FORTIFY_SOURCE=2 -fstack-protector-all
AC_ARG_ENABLE(gcc-hardening,

View File

@ -244,7 +244,7 @@ test_private_first_price ()
}
}
CHECK (-1 != winner, "no winner detected");
fputs ("good: one winner detected", stderr);
fputs ("good: one winner detected\n", stderr);
return 1;
}
@ -275,7 +275,7 @@ test_public_first_price ()
wret = winner;
CHECK (winner == wret, "different winners detected");
}
fputs ("good: same winner detected", stderr);
fputs ("good: same winner detected\n", stderr);
return 1;
}
@ -309,8 +309,8 @@ main (int argc, char *argv[])
int repeat = 1;
struct GNUNET_CRYPTO_EccDlogContext *edc;
bidders = 2;
prizes = 2 * bidders;
bidders = 3;
prizes = 6;
edc = GNUNET_CRYPTO_ecc_dlog_prepare (1024, 16);
BRANDT_init (edc);