From: Jouni Malinen Date: Tue, 27 Nov 2018 15:20:41 +0000 (+0200) Subject: DPP: Fix no-Status protocol testing in Auth Resp error case X-Git-Tag: hostap_2_7~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89b6d8a2f0123e1bc28623fcfefe85a2d4ca4552;p=thirdparty%2Fhostap.git DPP: Fix no-Status protocol testing in Auth Resp error case Signed-off-by: Jouni Malinen --- diff --git a/src/common/dpp.c b/src/common/dpp.c index 702e3c303..e7008c0ba 100644 --- a/src/common/dpp.c +++ b/src/common/dpp.c @@ -2854,7 +2854,7 @@ static int dpp_auth_build_resp_status(struct dpp_authentication *auth, i_pubkey_hash = test_hash; } else if (dpp_test == DPP_TEST_NO_STATUS_AUTH_RESP) { wpa_printf(MSG_INFO, "DPP: TESTING - no Status"); - status = -1; + status = 255; } else if (dpp_test == DPP_TEST_NO_I_NONCE_AUTH_RESP) { wpa_printf(MSG_INFO, "DPP: TESTING - no I-nonce"); i_nonce = NULL;