Browse Source

Fix typo: paddedlength -> paddedLength

--HG--
branch : PabloMayobre/fixed-hash-functions-in-data-module-not--1543171550077
Pablo Mayobre 6 years ago
parent
commit
43633d7b44
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/modules/data/HashFunction.cpp

+ 2 - 2
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