Add SHA1_DIGEST_SIZE #define to sha1.h.
authorSimon Josefsson <simon@josefsson.org>
Thu, 31 Jan 2008 12:57:17 +0000 (13:57 +0100)
committerSimon Josefsson <simon@josefsson.org>
Thu, 31 Jan 2008 12:57:17 +0000 (13:57 +0100)
ChangeLog
lib/sha1.h

index c7808c43a193c55854ad52fc90401e4b5ec6e9c3..77fe4f5e56bb0574a98a32cc0ee4d6494e5682f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-31  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/sha1.h (SHA1_DIGEST_SIZE): Add.
+
 2008-01-31  Jim Meyering  <meyering@redhat.com>
 
        Prefer "sizeof v" over the equivalent "4".
index 9e55974ce681c187b180063728f245d7f424abc3..4ffda7a994bea081aea464a698eb50e402cf365e 100644 (file)
@@ -23,6 +23,8 @@
 # include <stdio.h>
 # include <stdint.h>
 
+#define SHA1_DIGEST_SIZE 20
+
 /* Structure to save state of computation between the single steps.  */
 struct sha1_ctx
 {