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
1 changed files with 6 additions and 2 deletions
|
@ -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 a new issue