diff options
author | John Wiegley <johnw@newartisans.com> | 2023-12-11 17:24:33 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2024-08-05 08:35:56 -0700 |
commit | 46b08160c55f820016b3343418349750e2165610 (patch) | |
tree | 0a38c84976ed858a755d1b2f01a815a25063710a | |
parent | c839b1bb9dfce066b00195495c5e2e37a60e0a91 (diff) | |
download | fork-ledger-46b08160c55f820016b3343418349750e2165610.tar.gz fork-ledger-46b08160c55f820016b3343418349750e2165610.tar.bz2 fork-ledger-46b08160c55f820016b3343418349750e2165610.zip |
Fix return type of SHA512
-rw-r--r-- | src/sha512.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sha512.cc b/src/sha512.cc index 4ae472fc..bc469358 100644 --- a/src/sha512.cc +++ b/src/sha512.cc @@ -460,7 +460,7 @@ void SHA512_Final(uint8_t digest[], SHA512_CTX* context) { MEMSET_BZERO(context, sizeof(SHA512_CTX)); } -unsigned char * +uint8_t * SHA512(void *data, unsigned int data_len, uint8_t *digest) { SHA512_CTX ctx; |