mirror of
https://github.com/hashcat/hashcat
synced 2024-12-09 02:13:10 +01:00
Merge pull request #1104 from philsmd/master
cpu MD5: use smaller than (<) instead of != to make coverity happy
This commit is contained in:
commit
09fc684ad1
@ -167,11 +167,11 @@ void md5_complete_no_limit (u32 digest[4], u32 *plain, u32 plain_len)
|
||||
* final block
|
||||
*/
|
||||
|
||||
// set 0x80 if neeeded
|
||||
// set 0x80 if needed
|
||||
|
||||
if (cur_len >= 0)
|
||||
{
|
||||
if (cur_len != block_total_len)
|
||||
if (copy_len < block_total_len)
|
||||
{
|
||||
block_ptr[copy_len] = (char) 0x80;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user