]> git.ipfire.org Git - thirdparty/hostap.git/commit
PEAP: Verify peap_prfplus() result
authorJouni Malinen <j@w1.fi>
Sun, 13 Nov 2011 09:29:17 +0000 (11:29 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 13 Nov 2011 09:29:17 +0000 (11:29 +0200)
commit3724ddc0c10ab54b768cbd4044f7c215d97bf011
treeb185e4b47de023f00b55c5276e78e762a54f4914
parentb6c8df695cb236c66a41ac1fe954698cc4286444
PEAP: Verify peap_prfplus() result

This function can fail in theory since the SHA-1 functions are
allowed to return an error. While this does not really happen in
practice (we would not get this far if SHA-1 does not work), it is
cleaner to include the error handling here to keep static analyzers
happier. [Bug 421]

Signed-hostap: Jouni Malinen <j@w1.fi>
src/eap_common/eap_peap_common.c
src/eap_common/eap_peap_common.h
src/eap_peer/eap_peap.c
src/eap_server/eap_server_peap.c