aboutsummaryrefslogtreecommitdiffstats
path: root/t/test_common.c
diff options
context:
space:
mode:
Diffstat (limited to 't/test_common.c')
-rw-r--r--t/test_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test_common.c b/t/test_common.c
index 8955edb..52c6655 100644
--- a/t/test_common.c
+++ b/t/test_common.c
@@ -51,7 +51,7 @@ END_TEST
START_TEST(test_slapt_gen_md5_sum_of_file)
{
const char *file = "data/md5_dummy";
- char result_sum[SLAPT_MD5_STR_LEN];
+ char result_sum[SLAPT_MD5_STR_LEN + 1];
FILE *f = fopen(file, "r");
slapt_gen_md5_sum_of_file(f, result_sum);