]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/common/dpp.c
DPP: Do not continue if public key hash derivation fails
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 29 Nov 2017 19:40:31 +0000 (21:40 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 29 Nov 2017 22:08:38 +0000 (00:08 +0200)
commitf981ce7298e6cf6fe1480605e53255edaf72dd26
tree204ff5dd989d69c2ad829fc448e451b75b93b7c2
parent8a37d54ea7a511b6964b50b2e773daa91b839cf2
DPP: Do not continue if public key hash derivation fails

sha256_vector() result was ignored apart from printing out the failure
in the debug log. This is not really a normal case and it is better to
reject the full operation rather than try to continue with an incorrect
public key hash value.

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