]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP2: Add Protocol Version attr to Auth Resp only if peer is R2 or newer
authorJouni Malinen <jouni@codeaurora.org>
Tue, 28 Jan 2020 22:58:33 +0000 (00:58 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 28 Jan 2020 23:00:23 +0000 (01:00 +0200)
commit5e98998ec11f09918621018ad47a3ca2af6987b1
tree8191bc98249610b6b3b69580934d53784c82bc62
parent505797b458bbab394b0c94ce6457c89170b1d626
DPP2: Add Protocol Version attr to Auth Resp only if peer is R2 or newer

There is no need for the Protocol Version attribute in Authentication
Response if the peer is a DPP R1 device since such device would not know
how to use this attribute. To reduce risk for interoperability issues,
add this new attribute only if the peer included it in Authentication
Request.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/common/dpp.c