aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-11-27 15:20:41 (GMT)
committerJouni Malinen <j@w1.fi>2018-11-27 15:20:41 (GMT)
commit89b6d8a2f0123e1bc28623fcfefe85a2d4ca4552 (patch)
tree2b9bee0e8910959dddfbc54ea5c2a8f393fb7edf /src/common
parent9c976e2c4579fbad0b0e5293b31c62deee6db036 (diff)
downloadhostap-89b6d8a2f0123e1bc28623fcfefe85a2d4ca4552.zip
hostap-89b6d8a2f0123e1bc28623fcfefe85a2d4ca4552.tar.gz
hostap-89b6d8a2f0123e1bc28623fcfefe85a2d4ca4552.tar.bz2
DPP: Fix no-Status protocol testing in Auth Resp error case
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/common')
-rw-r--r--src/common/dpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/dpp.c b/src/common/dpp.c
index 702e3c3..e7008c0 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;