diff options
| author | Shauren <shauren.trinity@gmail.com> | 2014-06-01 02:37:40 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2014-06-01 02:37:40 +0200 |
| commit | a860d5ca47031a7123da901c1c26a1107901dad0 (patch) | |
| tree | 74cb7655dc15af13e279028512d5085b72b1495b | |
| parent | 914d5d53669097ee3f7bf28a14094e4697a2b2bd (diff) | |
Core/Crypto: Fixed values returned by HmacHash::GetLength
| -rw-r--r-- | src/server/shared/Cryptography/HmacHash.h | 2 |
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; |
