projects
/
hashcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d56394c
)
Minor bugfix
author
gpuhash
<slava1105@safe-mail.net>
Tue, 23 Feb 2016 19:01:55 +0000
(22:01 +0300)
committer
gpuhash
<slava1105@safe-mail.net>
Tue, 23 Feb 2016 19:01:55 +0000
(22:01 +0300)
src/shared.c
patch
|
blob
|
history
diff --git
a/src/shared.c
b/src/shared.c
index
804e5bc
..
ddaa9f8
100644
(file)
--- a/
src/shared.c
+++ b/
src/shared.c
@@
-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];