]> the.earth.li Git - onak.git/commitdiff
Change SHA_DIGEST_LENGTH to SHA1_DIGEST_SIZE to match nettle
authorJonathan McDowell <noodles@earth.li>
Tue, 5 Nov 2013 03:04:51 +0000 (19:04 -0800)
committerJonathan McDowell <noodles@earth.li>
Tue, 5 Nov 2013 03:04:51 +0000 (19:04 -0800)
sha1.h

diff --git a/sha1.h b/sha1.h
index 487160a07bb8b82d11f5839cf47e616af1fbe351..f2fcefcafb8ef469ed186902792e05f137d15ffa 100644 (file)
--- a/sha1.h
+++ b/sha1.h
@@ -27,7 +27,7 @@ void sha1_digest(struct sha1_ctx *ctx, unsigned length, uint8_t *digest);
 # define SHA1_Update SHA1Update
 # define SHA1_Final SHA1Final
 
-# define SHA_DIGEST_LENGTH 20
+# define SHA1_DIGEST_SIZE 20
 
 #endif