diff options
Diffstat (limited to 'imap/src')
-rw-r--r-- | imap/src/c-client/hmac.c | 2 | ||||
-rw-r--r-- | imap/src/c-client/sha.h | 2 |
2 files changed, 2 insertions, 2 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]) { diff --git a/imap/src/c-client/sha.h b/imap/src/c-client/sha.h index ffd4b7cf..e21c9844 100644 --- a/imap/src/c-client/sha.h +++ b/imap/src/c-client/sha.h @@ -238,7 +238,7 @@ extern int USHAHashSizeBits(enum SHAversion whichSha); * for all SHAs. * This interface allows a fixed-length text input to be used. */ -extern int hmac(SHAversion whichSha, /* which SHA algorithm to use */ +extern int c_client_hmac(SHAversion whichSha, /* which SHA algorithm to use */ const unsigned char *text, /* pointer to data stream */ int text_len, /* length of data stream */ const unsigned char *key, /* pointer to authentication key */ |