cosmetic fix of src/ac.c

This commit is contained in:
NIIBE Yutaka
2011-11-01 11:39:47 +09:00
parent f3a3808608
commit ec7a2db43a
2 changed files with 3 additions and 1 deletions

View File

@@ -172,7 +172,7 @@ calc_md (int count, const uint8_t *salt, const uint8_t *pw, int pw_len,
count -= pw_len + 8;
}
if (count < 8)
if (count <= 8)
sha1_update (&sha1_ctx, salt, count);
else
{