mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 07:08:19 +00: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