diff options
Diffstat (limited to 'lib/libc/hash/md5.c')
-rw-r--r-- | lib/libc/hash/md5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/hash/md5.c b/lib/libc/hash/md5.c index 97a444d..1a069d2 100644 --- a/lib/libc/hash/md5.c +++ b/lib/libc/hash/md5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: md5.c,v 1.11 2015/09/11 09:18:27 guenther Exp $ */ +/* $OpenBSD: md5.c,v 1.12 2020/10/13 04:42:28 guenther Exp $ */ /* * This code implements the MD5 message-digest algorithm. @@ -38,7 +38,7 @@ (cp)[1] = (value) >> 8; \ (cp)[0] = (value); } while (0) -static u_int8_t PADDING[MD5_BLOCK_LENGTH] = { +static const u_int8_t PADDING[MD5_BLOCK_LENGTH] = { 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 |