aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/120_gendata_h48h0k4/gendata_h48h0k4_tests.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/120_gendata_h48h0k4/gendata_h48h0k4_tests.c b/test/120_gendata_h48h0k4/gendata_h48h0k4_tests.c
index bc3488c..72a34f6 100644
--- a/test/120_gendata_h48h0k4/gendata_h48h0k4_tests.c
+++ b/test/120_gendata_h48h0k4/gendata_h48h0k4_tests.c
@@ -50,11 +50,7 @@ void run(void) {
50 arg.k = 4; 50 arg.k = 4;
51 51
52 sz = gendata_h48(&arg); /* With buf = NULL returns data size */ 52 sz = gendata_h48(&arg); /* With buf = NULL returns data size */
53 arg.buf = malloc(sz+23); 53 arg.buf = malloc(sz);
54/*
55TODO: the +23 is a workaround for a bug that I don't understand and seems
56to happen only with gcc. Hopefully this gets fixed when switching to 8-bit.
57*/
58 54
59 result = gendata_h48(&arg); 55 result = gendata_h48(&arg);
60 56

Generated with cgit - Back to sebastiano.tronto.net