From a64cc8917cd1d13e3c004d64a0d37e683e7cbd6f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Mon, 29 Aug 2011 16:15:38 +0200
Subject: [PATCH] (struct sha1_ctx): Renamed attribute digest to state.

Rev: nettle/sha.h:1.7
---
 sha.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sha.h b/sha.h
index 41afde4b..74beff35 100644
--- a/sha.h
+++ b/sha.h
@@ -57,7 +57,7 @@ extern "C" {
 
 struct sha1_ctx
 {
-  uint32_t digest[_SHA1_DIGEST_LENGTH];   /* Message digest */
+  uint32_t state[_SHA1_DIGEST_LENGTH];    /* State variables */
   uint32_t count_low, count_high;         /* 64-bit block count */
   uint8_t block[SHA1_DATA_SIZE];          /* SHA1 data buffer */
   unsigned int index;                     /* index into buffer */
-- 
GitLab