From: Jonathan McDowell Date: Tue, 5 Nov 2013 03:04:51 +0000 (-0800) Subject: Change SHA_DIGEST_LENGTH to SHA1_DIGEST_SIZE to match nettle X-Git-Tag: onak-0.4.3~38 X-Git-Url: https://the.earth.li/gitweb/?a=commitdiff_plain;h=cab77e4ffc25ba4fb2e5289beaa47c7d915de942;p=onak.git Change SHA_DIGEST_LENGTH to SHA1_DIGEST_SIZE to match nettle --- 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