summaryrefslogtreecommitdiff
path: root/src/sha512.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sha512.cc')
-rw-r--r--src/sha512.cc2
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;