EAP-PAX: Do not debug print result if eap_pax_mac() fails
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 16 May 2016 19:25:25 +0000 (22:25 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 16 May 2016 19:25:25 +0000 (22:25 +0300)
commit0884633577c0dbfaae8bf35c3b5b91a8016b25a8
treef050a21c4ecb4d3667e2def9cddc385b7a791500
parent92abe3782fd2a31dd867ab2015af8ae2cc37d2df
EAP-PAX: Do not debug print result if eap_pax_mac() fails

This gets rid of a valgrind warning on uninitialized memory read in the
eap_proto_pax_errors test case where the result was used after the
failed eap_pax_mac() call.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/eap_peer/eap_pax.c