From e31c88f59556b8dd811b0cc0c273e52c707b6c03 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Wed, 14 Sep 2016 11:59:29 +0100 Subject: Table should be static const. --- source/fitz/crypt-md5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/fitz/crypt-md5.c b/source/fitz/crypt-md5.c index d2693b05..6826fedd 100644 --- a/source/fitz/crypt-md5.c +++ b/source/fitz/crypt-md5.c @@ -38,7 +38,7 @@ static void encode(unsigned char *, const unsigned int *, const unsigned); static void decode(unsigned int *, const unsigned char *, const unsigned); static void transform(unsigned int state[4], const unsigned char block[64]); -static unsigned char padding[64] = +static const unsigned char padding[64] = { 0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -- cgit v1.2.3