aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ctrl_iface.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-07-04 14:48:44 (GMT)
committerJouni Malinen <j@w1.fi>2017-07-04 14:48:44 (GMT)
commitf522bb2377bedd2ea44885efceb85cc12b3a7d8f (patch)
tree67397a402a1a660164714e698183bb6420932026 /wpa_supplicant/ctrl_iface.c
parentdc7fc09ccdf476c92c85d4e3b98666be529d4f16 (diff)
downloadhostap-f522bb2377bedd2ea44885efceb85cc12b3a7d8f.zip
hostap-f522bb2377bedd2ea44885efceb85cc12b3a7d8f.tar.gz
hostap-f522bb2377bedd2ea44885efceb85cc12b3a7d8f.tar.bz2
DPP: Add DPP_CONFIGURATOR_SIGN to generate own connector
The DPP Configurator can use this new command to generate its own signed connector for the network that it manages. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/ctrl_iface.c')
-rw-r--r--wpa_supplicant/ctrl_iface.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
index bb9f26e..710489d 100644
--- a/wpa_supplicant/ctrl_iface.c
+++ b/wpa_supplicant/ctrl_iface.c
@@ -10256,6 +10256,9 @@ char * wpa_supplicant_ctrl_iface_process(struct wpa_supplicant *wpa_s,
} else if (os_strncmp(buf, "DPP_CONFIGURATOR_REMOVE ", 24) == 0) {
if (wpas_dpp_configurator_remove(wpa_s, buf + 24) < 0)
reply_len = -1;
+ } else if (os_strncmp(buf, "DPP_CONFIGURATOR_SIGN ", 22) == 0) {
+ if (wpas_dpp_configurator_sign(wpa_s, buf + 22) < 0)
+ reply_len = -1;
} else if (os_strncmp(buf, "DPP_PKEX_ADD ", 13) == 0) {
int res;