EXT PW: Fix hash return in password fetching
authorJouni Malinen <j@w1.fi>
Tue, 7 Jan 2014 20:30:25 +0000 (22:30 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 7 Jan 2014 20:32:12 +0000 (22:32 +0200)
commit7b88b64cd3cb22aceb8abf5143323e03a914bbb7
tree47b97ec1525c877c640cfdd561bdc51896fbb129
parent08081ad8efbf43eeea15969f9b2c487f9f7f25b8
EXT PW: Fix hash return in password fetching

The hash return buffer was previously left uninitialized in case
externally stored password ("password=ext:...") was used. This could
result in MSCHAPv2 failure if that uninitialized memory happened to be
something else than zero.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/eap_peer/eap.c