aboutsummaryrefslogtreecommitdiff
path: root/src/common/md5_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/md5_common.c')
-rw-r--r--src/common/md5_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/md5_common.c b/src/common/md5_common.c
index 74c274175fe..abf79e5918f 100644
--- a/src/common/md5_common.c
+++ b/src/common/md5_common.c
@@ -69,7 +69,7 @@ bytesToHex(uint8 b[16], char *s)
bool
pg_md5_hash(const void *buff, size_t len, char *hexsum)
{
- uint8 sum[16];
+ uint8 sum[MD5_DIGEST_LENGTH];
pg_cryptohash_ctx *ctx;
ctx = pg_cryptohash_create(PG_MD5);