From 39a6e85be51e4bfb04d08d07b8b84a753e6b9765 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Thu, 5 Sep 2019 14:18:33 +0100 Subject: [PATCH] Add MD5_DIGEST_SIZE to our local MD5 implementation header This is present in libnettle and has been made use of recently to avoid a hard coded digest length value. --- md5.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/md5.h b/md5.h index 92f45db..3946fc7 100644 --- a/md5.h +++ b/md5.h @@ -26,6 +26,9 @@ #include typedef size_t md5_uintptr; +/* Length in bytes of the MD5 digest */ +#define MD5_DIGEST_SIZE 16 + /* Structure to save state of computation between the single steps. */ struct md5_ctx { -- 2.39.5