diff options
author | Niels Möller <nisse@lysator.liu.se> | 2012-09-16 23:29:08 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2012-09-16 23:29:08 +0200 |
commit | 75288e447e2a659b7c4df915d81c426bda4435c7 (patch) | |
tree | 6790f104bd9b26f4ecdb3e7fdfb7b89a2a6c159f /testsuite/memxor-test.c | |
parent | 728a20eed7ec34e917d3a992b7777ceb9cee8404 (diff) | |
download | nettle-75288e447e2a659b7c4df915d81c426bda4435c7.tar.gz |
Testsuite overhaul, including proper deallocation of storage.
Diffstat (limited to 'testsuite/memxor-test.c')
-rw-r--r-- | testsuite/memxor-test.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/testsuite/memxor-test.c b/testsuite/memxor-test.c index 8c191f3b..33194330 100644 --- a/testsuite/memxor-test.c +++ b/testsuite/memxor-test.c @@ -75,7 +75,7 @@ test_memxor3 (const uint8_t *ain, const uint8_t *bin, const uint8_t *c, ASSERT (dst[size] == 17); } -int +void test_main(void) { const uint8_t *a = H("ecc8737f 38f2f9e8 86b9d84c 42a9c7ef" @@ -144,6 +144,4 @@ test_main(void) for (align_b = 0; align_b < ALIGN_SIZE; align_b++) test_memxor3 (a, b, c, size[i], align_dst, align_a, align_b); } - - SUCCESS(); } |