summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sha512.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sha512.cc b/src/sha512.cc
index 943bc326..9db72ac0 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_CTX*);
unsigned char *SHA512(void *data, unsigned int data_len, unsigned char *digest);
@@ -437,7 +437,7 @@ static void SHA512_Last(SHA512_CTX* context) {
SHA512_Transform(context, (sha2_word64*)context->buffer);
}
-void SHA512_Final(sha2_byte digest[], SHA512_CTX* context) {
+void SHA512_Final(uint8_t digest[], SHA512_CTX* context) {
sha2_word64 *d = (sha2_word64*)digest;
/* Sanity check: */