From 541f231c23dc4f35f266600d8cfcec205a51beaf Mon Sep 17 00:00:00 2001 From: gpuhash Date: Tue, 23 Feb 2016 22:01:55 +0300 Subject: [PATCH] Minor bugfix --- src/shared.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared.c b/src/shared.c index 804e5bc2a..ddaa9f884 100644 --- 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];