From fb5d091667dd5db488d0bba2c4fa2e2e0f264572 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Wed, 24 Nov 2021 22:34:15 -0700 Subject: * Clear up warnings and update documentation. --- imap/src/c-client/sha.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'imap/src') diff --git a/imap/src/c-client/sha.h b/imap/src/c-client/sha.h index e21c9844..5ae7b423 100644 --- a/imap/src/c-client/sha.h +++ b/imap/src/c-client/sha.h @@ -200,8 +200,7 @@ extern int SHA256Input(SHA256Context *, const uint8_t *bytes, unsigned int bytecount); extern int SHA256FinalBits(SHA256Context *, const uint8_t bits, unsigned int bitcount); -extern int SHA256Result(SHA256Context *, - uint8_t Message_Digest[SHA256HashSize]); +extern int SHA256Result(SHA256Context *, uint8_t *); /* SHA-384 */ extern int SHA384Reset(SHA384Context *); @@ -257,7 +256,7 @@ extern int hmacInput(HMACContext *ctx, const unsigned char *text, extern int hmacFinalBits(HMACContext *ctx, const uint8_t bits, unsigned int bitcount); -extern int hmacResult(HMACContext *ctx, - uint8_t digest[USHAMaxHashSize]); +extern int hmacResult(HMACContext *, + uint8_t *); #endif /* _SHA_H_ */ -- cgit v1.2.3-54-g00ecf