diff options
-rw-r--r-- | src/sha512.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sha512.cc b/src/sha512.cc index 4d13a002..f7ef5e2d 100644 --- a/src/sha512.cc +++ b/src/sha512.cc @@ -1,5 +1,3 @@ -#define uint8_t unsigned char // <-- added by John Wiegley for compilation - /* * FILE: sha2.c * AUTHOR: Aaron D. Gifford - http://www.aarongifford.com/ @@ -61,7 +59,7 @@ typedef struct _SHA512_CTX { void SHA512_Init(SHA512_CTX*); void SHA512_Update(SHA512_CTX*, void*, size_t); -void SHA512_Final(uint8_t[SHA512_DIGEST_LENGTH], SHA512_CTX*); +void SHA512_Final(unsigned char[SHA512_DIGEST_LENGTH], SHA512_CTX*); unsigned char *SHA512(void *data, unsigned int data_len, unsigned char *digest); |