mirror of
https://github.com/hashcat/hashcat
synced 2024-11-28 05:21:38 +01:00
Minor bugfix
This commit is contained in:
parent
d56394c849
commit
541f231c23
@ -10073,6 +10073,7 @@ int wpa_parse_hash (char *input_buf, uint input_len, hash_t *hash_buf)
|
||||
|
||||
uint32_t *p0 = (uint32_t *) in.essid;
|
||||
uint32_t c0 = 0;
|
||||
uint32_t c1 = 0;
|
||||
|
||||
for (unsigned int i = 0; i < sizeof(in.essid)/sizeof(uint32_t); i++) c0 ^= *p0++;
|
||||
for (unsigned int i = 0; i < sizeof(wpa->pke)/sizeof(wpa->pke[0]); i++) c1 ^= wpa->pke[i];
|
||||
|
Loading…
Reference in New Issue
Block a user