summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2023-12-11 16:09:46 -0800
committerJohn Wiegley <johnw@newartisans.com>2024-08-05 08:35:56 -0700
commit740cdd4d7928783311a072ea07903d07797bf72d (patch)
tree2090b5a9dce2bed9021ea5fa19ac4aa5ed8dcceb
parent1fcb4679bc00cf86beeb6d3f158038ded0b08db6 (diff)
downloadfork-ledger-740cdd4d7928783311a072ea07903d07797bf72d.tar.gz
fork-ledger-740cdd4d7928783311a072ea07903d07797bf72d.tar.bz2
fork-ledger-740cdd4d7928783311a072ea07903d07797bf72d.zip
Type signature fix
-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);