diff options
author | John Wiegley <johnw@newartisans.com> | 2023-12-12 09:07:05 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2024-08-05 08:35:56 -0700 |
commit | 6321da633d7aa8c5f5ad95703c0b479e0894f129 (patch) | |
tree | 122154c2e239c738e2164a6041294662862099a5 | |
parent | 3a8817a57f0a79f721f1da258fa870f161caa1ba (diff) | |
download | fork-ledger-6321da633d7aa8c5f5ad95703c0b479e0894f129.tar.gz fork-ledger-6321da633d7aa8c5f5ad95703c0b479e0894f129.tar.bz2 fork-ledger-6321da633d7aa8c5f5ad95703c0b479e0894f129.zip |
Change one prototype
-rw-r--r-- | src/sha512.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sha512.cc b/src/sha512.cc index 4d13a002..f7ef5e2d 100644 --- a/src/sha512.cc +++ b/src/sha512.cc @@ -1,5 +1,3 @@ -#define uint8_t unsigned char // <-- added by John Wiegley for compilation - /* * FILE: sha2.c * AUTHOR: Aaron D. Gifford - http://www.aarongifford.com/ @@ -61,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(unsigned char[SHA512_DIGEST_LENGTH], SHA512_CTX*); unsigned char *SHA512(void *data, unsigned int data_len, unsigned char *digest); |