diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-11-23 23:20:25 +0100 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-11-23 23:26:01 +0100 |
commit | f4932d94c07d7c0dd9992b6b2d5b562b567d49b0 (patch) | |
tree | 22fb1dee0c28a54957513d8fe09655c26a31b1c8 /test_brandt.c | |
parent | b0042a588a932883a8f03e58ffe930c6eb795d48 (diff) |
remove unnecessary description handling and hashing.
The hash is not needed since the sellers application is required to sign the
description and the bidders application is required to check the signature.
Since the arbitrary description used by the application was only used inside
this hash, it can be removed as well.
Diffstat (limited to 'test_brandt.c')
-rw-r--r-- | test_brandt.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/test_brandt.c b/test_brandt.c index 1540583..9d91260 100644 --- a/test_brandt.c +++ b/test_brandt.c @@ -305,9 +305,8 @@ quit: static void run_auction (void *arg) { - const char description[] = "test description for test_auction"; - void *desc; - size_t desc_len; + void *desc; + size_t desc_len; tcase.ad[tcase.n] = BRANDT_new (&cb_result, &cb_broadcast, @@ -315,8 +314,6 @@ run_auction (void *arg) &tcase.id[tcase.n], &desc, &desc_len, - description, - sizeof (description), GNUNET_TIME_absolute_get (), GNUNET_TIME_UNIT_MINUTES, tcase.k, /* number of prizes */ @@ -336,8 +333,6 @@ run_auction (void *arg) &tcase.id[i], desc, desc_len, - description, - sizeof (description), tcase.bids[i]); /* bid */ if (!tcase.ad[i]) { |