summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/sha1/README3
-rw-r--r--src/util/sha1/sha1.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/util/sha1/README b/src/util/sha1/README
index f13baf9d1a8..f30acf984e3 100644
--- a/src/util/sha1/README
+++ b/src/util/sha1/README
@@ -57,3 +57,6 @@ Upstream status: TBD (N/A ?)
- Manually expand __BEGIN_DECLS/__END_DECLS and make sure that they include
the struct declaration.
Upstream status: TBD
+
+ - Add non-typedef struct name.
+Upstream status: TBD
diff --git a/src/util/sha1/sha1.h b/src/util/sha1/sha1.h
index 243481a98e4..029a0ae87f1 100644
--- a/src/util/sha1/sha1.h
+++ b/src/util/sha1/sha1.h
@@ -20,7 +20,7 @@
extern "C" {
#endif
-typedef struct {
+typedef struct _SHA1_CTX {
uint32_t state[5];
uint64_t count;
uint8_t buffer[SHA1_BLOCK_LENGTH];