summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/hash.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/misc/hash.cxx')
-rw-r--r--comphelper/source/misc/hash.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/comphelper/source/misc/hash.cxx b/comphelper/source/misc/hash.cxx
index 119044985bc5..6b54ed0a2452 100644
--- a/comphelper/source/misc/hash.cxx
+++ b/comphelper/source/misc/hash.cxx
@@ -139,13 +139,13 @@ size_t Hash::getLength() const
switch (mpImpl->meType)
{
case HashType::MD5:
- return 16;
+ return MD5_HASH_LENGTH;
case HashType::SHA1:
- return 20;
+ return SHA1_HASH_LENGTH;
case HashType::SHA256:
- return 32;
+ return SHA256_HASH_LENGTH;
case HashType::SHA512:
- return 64;
+ return SHA512_HASH_LENGTH;
}
return 0;