aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Cryptography/HmacHash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/shared/Cryptography/HmacHash.h')
-rw-r--r--src/server/shared/Cryptography/HmacHash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/shared/Cryptography/HmacHash.h b/src/server/shared/Cryptography/HmacHash.h
index cf59e16f08e..bf82e39a526 100644
--- a/src/server/shared/Cryptography/HmacHash.h
+++ b/src/server/shared/Cryptography/HmacHash.h
@@ -38,7 +38,7 @@ class HmacHash
void Finalize();
uint8* ComputeHash(BigNumber* bn);
uint8* GetDigest() { return _digest; }
- int GetLength() const { return SHA_DIGEST_LENGTH; }
+ uint32 GetLength() const { return _digestLength; }
private:
HMAC_CTX _ctx;
uint8* _digest;