mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 10:18:21 -05:00
SAE: Add sae_h2e and sae_pk to wpa_supplicant STATUS command
This provides additional information on which options were used during SAE authentication. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
cc22fb1b86
commit
a752695290
@ -2283,8 +2283,12 @@ static int wpa_supplicant_ctrl_iface_status(struct wpa_supplicant *wpa_s,
|
||||
!wpa_s->ap_iface &&
|
||||
#endif /* CONFIG_AP */
|
||||
wpa_s->sme.sae.state == SAE_ACCEPTED) {
|
||||
ret = os_snprintf(pos, end - pos, "sae_group=%d\n",
|
||||
wpa_s->sme.sae.group);
|
||||
ret = os_snprintf(pos, end - pos, "sae_group=%d\n"
|
||||
"sae_h2e=%d\n"
|
||||
"sae_pk=%d\n",
|
||||
wpa_s->sme.sae.group,
|
||||
wpa_s->sme.sae.h2e,
|
||||
wpa_s->sme.sae.pk);
|
||||
if (os_snprintf_error(end - pos, ret))
|
||||
return pos - buf;
|
||||
pos += ret;
|
||||
|
Loading…
Reference in New Issue
Block a user