From: Simon Josefsson Date: Thu, 31 Jan 2008 12:57:17 +0000 (+0100) Subject: Add SHA1_DIGEST_SIZE #define to sha1.h. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe99f6e2c29f43e7e9e375c80b8260a5643d6df9;p=pspp Add SHA1_DIGEST_SIZE #define to sha1.h. --- diff --git a/ChangeLog b/ChangeLog index c7808c43a1..77fe4f5e56 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 9e55974ce6..4ffda7a994 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 {