From cab77e4ffc25ba4fb2e5289beaa47c7d915de942 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Mon, 4 Nov 2013 19:04:51 -0800 Subject: [PATCH] Change SHA_DIGEST_LENGTH to SHA1_DIGEST_SIZE to match nettle --- sha1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sha1.h b/sha1.h index 487160a..f2fcefc 100644 --- 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 -- 2.39.5