]> git.ipfire.org Git - thirdparty/hostap.git/commit
mesh: Simplify wpa_auth_pmksa_set_to_sm()
authorJouni Malinen <j@w1.fi>
Tue, 22 Mar 2016 18:37:46 +0000 (20:37 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 22 Mar 2016 18:38:44 +0000 (20:38 +0200)
commit8854f90badc0ca16e1de381f35e9e3d99af452c9
tree3b3d3d26245f3d0d9a915065c4214a7f62f79aa8
parent32d4fe9549436e20921fae79da30cdbe0d9bb853
mesh: Simplify wpa_auth_pmksa_set_to_sm()

pmksa->pmk or pmksa->pmkid cannot be NULL since they are arrays. Remove
the unnecessary NULL checks and use the provided pmksa pointer directly
to simplify the implementation. (CID 138519)

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/wpa_auth.c