From 46b08160c55f820016b3343418349750e2165610 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 11 Dec 2023 17:24:33 -0800 Subject: Fix return type of SHA512 --- src/sha512.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3