]> git.ipfire.org Git - thirdparty/hostap.git/commit
Store pmk_r1_name derived with wpa_ft_local_derive_pmk_r1() properly
authorAdil Saeed Musthafa <quic_adilm@quicinc.com>
Thu, 4 May 2023 16:34:51 +0000 (09:34 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 25 May 2023 14:11:59 +0000 (17:11 +0300)
commit288566031819e76ae49b73bd670594fe6faa4778
tree51b0f813d171bf135dda448cb4118d9eebc95cc0
parente978072baaca886943c391b9a99066771ddc01a8
Store pmk_r1_name derived with wpa_ft_local_derive_pmk_r1() properly

The parameter req_pmk_r1_name was not used at all in the function
wpa_ft_local_derive_pmk_r1(). In addition, the PMK-R1-NAME should be
updated in this function along with the PMK-R1. This means the parameter
should change from "req_pmk_r1_name" to "out_pmk_r1_name" to match the
design used for other paths that derive the PMK-R1.

sm->pmk_r1_name needs to be properly updated when pmk_r1_name is derived
from the local pmk_r0.

Signed-off-by: Adil Saeed Musthafa <quic_adilm@quicinc.com>
src/ap/wpa_auth_ft.c