From: Jouni Malinen Date: Sat, 6 Jun 2020 09:09:47 +0000 (+0300) Subject: SAE: Add sae_h2e and sae_pk to wpa_supplicant STATUS command X-Git-Tag: hostap_2_10~1208 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7526952907caa1150e15478e5a43bb1ba896af7;p=thirdparty%2Fhostap.git 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 --- diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c index e727dc5bb..79b5e8054 100644 --- a/wpa_supplicant/ctrl_iface.c +++ b/wpa_supplicant/ctrl_iface.c @@ -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;