diff options
author | Eduardo Chappa <chappa@washington.edu> | 2021-11-22 18:20:29 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2021-11-22 18:20:29 -0700 |
commit | 9b7d799cadf5d17b408b52d948bfb05d96e01c12 (patch) | |
tree | 343385081ee9c69da9030805579164da2adda1eb /imap/src/c-client/hmac.c | |
parent | 2adddd4261eeefe058b529ed0b9af6b2d497aa67 (diff) | |
download | alpine-9b7d799cadf5d17b408b52d948bfb05d96e01c12.tar.xz |
* Rename the hmac() function in imap/src/c-client/hmac.c to c_client_hmac
to avoid redefinition, as some systems include the hmac() function in
stdlib.h. Reported by Hisashi Fujinaka.
Diffstat (limited to 'imap/src/c-client/hmac.c')
-rw-r--r-- | imap/src/c-client/hmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/src/c-client/hmac.c b/imap/src/c-client/hmac.c index 431026db..1b5344d4 100644 --- a/imap/src/c-client/hmac.c +++ b/imap/src/c-client/hmac.c @@ -35,7 +35,7 @@ * sha Error Code. * */ -int hmac(SHAversion whichSha, const unsigned char *text, int text_len, +int c_client_hmac(SHAversion whichSha, const unsigned char *text, int text_len, const unsigned char *key, int key_len, uint8_t digest[USHAMaxHashSize]) { |