summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/BHashes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/BHashes.h b/includes/BHashes.h
index 9fcf0fd..c08b48d 100644
--- a/includes/BHashes.h
+++ b/includes/BHashes.h
@@ -50,7 +50,7 @@ class HMAC {
int r = hmac_process(&m_state, data, len);
IAssert(r == CRYPT_OK, "hmac_process for %s returned %i", Hash::name(), r);
}
- unsigned final(void * digest, unsigned outlen) {
+ unsigned long final(void * digest, unsigned long outlen) {
int r = hmac_done(&m_state, (uint8_t *) digest, &outlen);
IAssert(r == CRYPT_OK, "hmac_done for %s returned %i", Hash::name(), r);
return outlen;