mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
DPP: Fix error return value in dpp_auth_conf_rx()
Commit 03abb6b541
('DPP: Reject unexpected
Req/Resp message based on Auth/PKEX role') used incorrect type of error
value (NULL vs. -1). Fix that.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
63dc0f9c4d
commit
116454f460
@ -3665,7 +3665,7 @@ int dpp_auth_conf_rx(struct dpp_authentication *auth, const u8 *hdr,
|
||||
|
||||
if (auth->initiator) {
|
||||
dpp_auth_fail(auth, "Unexpected Authentication Confirm");
|
||||
return NULL;
|
||||
return -1;
|
||||
}
|
||||
|
||||
auth->waiting_auth_conf = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user