From fe99f6e2c29f43e7e9e375c80b8260a5643d6df9 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Thu, 31 Jan 2008 13:57:17 +0100 Subject: [PATCH] Add SHA1_DIGEST_SIZE #define to sha1.h. --- ChangeLog | 4 ++++ lib/sha1.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index c7808c43a..77fe4f5e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-31 Simon Josefsson + + * lib/sha1.h (SHA1_DIGEST_SIZE): Add. + 2008-01-31 Jim Meyering Prefer "sizeof v" over the equivalent "4". diff --git a/lib/sha1.h b/lib/sha1.h index 9e55974ce..4ffda7a99 100644 --- a/lib/sha1.h +++ b/lib/sha1.h @@ -23,6 +23,8 @@ # include # include +#define SHA1_DIGEST_SIZE 20 + /* Structure to save state of computation between the single steps. */ struct sha1_ctx { -- 2.11.0