We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1a253c commit 4977bd5Copy full SHA for 4977bd5
Shared/sdk/CChecksum.h
@@ -66,10 +66,7 @@ class CChecksum
66
{
67
CChecksum result;
68
result.ulCRC = CRCGenerator::GetCRCFromBuffer(cpBuffer, ulLength);
69
-
70
- if (result.ulCRC != 0)
71
- CMD5Hasher().Calculate(cpBuffer, ulLength, result.md5);
72
+ CMD5Hasher().Calculate(cpBuffer, ulLength, result.md5);
73
return result;
74
}
75
Shared/sdk/SharedUtil.Hash.hpp
@@ -145,9 +145,6 @@ namespace SharedUtil
145
146
void CMD5Hasher::Update(unsigned char* input, unsigned int input_length)
147
148
- if (input_length == 0)
149
- return;
150
151
// CRYPT_START
152
unsigned int input_index, buffer_index;
153
unsigned int buffer_space; // how much space is left in buffer
0 commit comments