summaryrefslogtreecommitdiff
path: root/src/sha512.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2023-12-06 14:13:39 -0800
committerJohn Wiegley <johnw@newartisans.com>2024-08-05 08:35:56 -0700
commitfc13cfe0eab6e8a3f02dabc395c6dbb237ef1f05 (patch)
tree0b8e67f8b3e1fcbfbe181603c466ed8e866b833a /src/sha512.cc
parent5195ba712c119008bf65f65a00fd4c70e68d4b6c (diff)
downloadfork-ledger-fc13cfe0eab6e8a3f02dabc395c6dbb237ef1f05.tar.gz
fork-ledger-fc13cfe0eab6e8a3f02dabc395c6dbb237ef1f05.tar.bz2
fork-ledger-fc13cfe0eab6e8a3f02dabc395c6dbb237ef1f05.zip
Update src/sha512.cc
Co-authored-by: Alexis Hildebrandt <afh@surryhill.net>
Diffstat (limited to 'src/sha512.cc')
-rw-r--r--src/sha512.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sha512.cc b/src/sha512.cc
index 2573524c..943bc326 100644
--- a/src/sha512.cc
+++ b/src/sha512.cc
@@ -59,7 +59,7 @@ typedef struct _SHA512_CTX {
void SHA512_Init(SHA512_CTX*);
void SHA512_Update(SHA512_CTX*, void*, size_t);
-void SHA512_Final(uint8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*);
+void SHA512_Final(sha2_byte[SHA512_DIGEST_LENGTH], SHA512_CTX*);
unsigned char *SHA512(void *data, unsigned int data_len, unsigned char *digest);