From 2d20dbb75b3ab9e2d9a2312eda69835eacf93a05 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 11 Dec 2023 10:58:41 -0800 Subject: Update src/sha512.cc Co-authored-by: Alexis Hildebrandt --- src/sha512.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sha512.cc b/src/sha512.cc index 943bc326..2573524c 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(sha2_byte[SHA512_DIGEST_LENGTH], SHA512_CTX*); +void SHA512_Final(uint8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*); unsigned char *SHA512(void *data, unsigned int data_len, unsigned char *digest); -- cgit v1.2.3