X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=src%2Fshared.c;h=e7d5dc399bb76fd56c245ca064475dcc08ad8450;hb=72abe90e10fd0bae7905c1009f356c7c38a587ef;hp=5372561e77f17261a2448ef7f8e228a10f42a335;hpb=6e04a52e53ce2392390ae4c04d215fd447d1720a;p=hashcat.git diff --git a/src/shared.c b/src/shared.c index 5372561..e7d5dc3 100644 --- a/src/shared.c +++ b/src/shared.c @@ -4723,8 +4723,9 @@ int sort_by_hash_t_salt_hccap (const void *v1, const void *v2) const salt_t *s1 = h1->salt; const salt_t *s2 = h2->salt; - // 16 - 2 (since last 2 uints contain the digest) - uint n = 14; + // last 2: salt_buf[10] and salt_buf[11] contain the digest (skip them) + + uint n = 9; // 9 * 4 = 36 bytes (max length of ESSID) while (n--) {