]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP: Move Authentication Response building into a separate function
authorJouni Malinen <jouni@qca.qualcomm.com>
Sun, 22 Oct 2017 16:03:23 +0000 (19:03 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 22 Oct 2017 16:05:06 +0000 (19:05 +0300)
commita03406dbe25f69431ec512b0cee23b22e5376c52
treecd070cf245a7d75564e79d9b2322b2caba65d144
parent0e7cb8c6c18b7fd53b1b609586c4160e930fc9ee
DPP: Move Authentication Response building into a separate function

This cleans up old dpp_auth_build_resp() (now dpp_auth_build_resp_ok())
a bit by separating initialization steps for a DPP authentication
session from the code needed to build the frame. This allows
dpp_auth_build_resp_status() to share the helper function instead of
having to maintain a duplicated message construction implementation. In
addition, this makes it easier to remove some of the attributes for
protocol testing purposes.

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