aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-12-21 09:42:01 (GMT)
committerJouni Malinen <j@w1.fi>2018-12-21 10:02:57 (GMT)
commit53d5de6f1de409ad15efced7ca04608f22c6c369 (patch)
tree48441a68deffc30dcc8e52d1892a51ce041c0281 /wpa_supplicant
parent5b82cdbe8bc7574566b1f87adefb4d923c273018 (diff)
downloadhostap-53d5de6f1de409ad15efced7ca04608f22c6c369.zip
hostap-53d5de6f1de409ad15efced7ca04608f22c6c369.tar.gz
hostap-53d5de6f1de409ad15efced7ca04608f22c6c369.tar.bz2
DPP: Accept DPP_CONFIGURATION_SIGN without double space before parameters
Make this command more convenient to use by not requiring two space characters between the command and the first parameter. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/ctrl_iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
index 951989a..be976a6 100644
--- a/wpa_supplicant/ctrl_iface.c
+++ b/wpa_supplicant/ctrl_iface.c
@@ -10610,7 +10610,7 @@ char * wpa_supplicant_ctrl_iface_process(struct wpa_supplicant *wpa_s,
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)
+ if (wpas_dpp_configurator_sign(wpa_s, buf + 21) < 0)
reply_len = -1;
} else if (os_strncmp(buf, "DPP_CONFIGURATOR_GET_KEY ", 25) == 0) {
reply_len = wpas_dpp_configurator_get_key(wpa_s, atoi(buf + 25),