diff options
author | Eduardo Chappa <chappa@washington.edu> | 2021-11-24 22:34:15 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2021-11-24 22:34:15 -0700 |
commit | fb5d091667dd5db488d0bba2c4fa2e2e0f264572 (patch) | |
tree | 1d7a2eb7f6025eb7045e8850cf7086e2b997d8a9 /imap/src/c-client/sha.h | |
parent | 4b63640c8e01ae6222663d412ff1625e3b4ba3b5 (diff) | |
download | alpine-fb5d091667dd5db488d0bba2c4fa2e2e0f264572.tar.xz |
* Clear up warnings and update documentation.
Diffstat (limited to 'imap/src/c-client/sha.h')
-rw-r--r-- | imap/src/c-client/sha.h | 7 |
1 files changed, 3 insertions, 4 deletions
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_ */ |