From 43633d7b44a186dbac173d9b3d01dc31e59af7fd Mon Sep 17 00:00:00 2001 From: Pablo Mayobre Date: Sun, 25 Nov 2018 19:03:30 +0000 Subject: [PATCH] Fix typo: paddedlength -> paddedLength --HG-- branch : PabloMayobre/fixed-hash-functions-in-data-module-not--1543171550077 --- src/modules/data/HashFunction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/data/HashFunction.cpp b/src/modules/data/HashFunction.cpp index d326769fd..5c805de1f 100644 --- a/src/modules/data/HashFunction.cpp +++ b/src/modules/data/HashFunction.cpp @@ -87,7 +87,7 @@ public: if (length % 64 < 56) paddedLength += 56-length%64; if (length % 64 > 56) - paddedlength += 120-length%64; + paddedLength += 120-length%64; uint8 *padded = new uint8[paddedLength+8]; memcpy(padded, input, length-1); memset(padded+length, 0, paddedLength-length); @@ -182,7 +182,7 @@ const uint32 MD5::constants[64] = { /** * The following implementation was based on the text, not the code listings, - * in RFC3174. I believe this means no copyright other than that of the LÖVE + * in RFC3174. I believe this means no copyright other than that of the LÖVE * Development Team applies. **/ class SHA1 : public HashFunction