aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dpp_supplicant.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-11-27 10:43:40 (GMT)
committerJouni Malinen <j@w1.fi>2017-11-27 11:24:20 (GMT)
commita2588be82ce001cc79bf4906a1344c9dba317451 (patch)
tree475aefc5129e44410da11ca5ef9762fd23964947 /wpa_supplicant/dpp_supplicant.c
parent7eb6bfb45dfb30299cadc08af46758c6669b305e (diff)
downloadhostap-a2588be82ce001cc79bf4906a1344c9dba317451.zip
hostap-a2588be82ce001cc79bf4906a1344c9dba317451.tar.gz
hostap-a2588be82ce001cc79bf4906a1344c9dba317451.tar.bz2
DPP: Add DPP_CONFIGURATOR_SIGN support to hostapd
Configurator signing its own Connector was previously supported only in wpa_supplicant. This commit extends that to hostapd to allow an AP acting as a Configurator to self-configure itself. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/dpp_supplicant.c')
-rw-r--r--wpa_supplicant/dpp_supplicant.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/dpp_supplicant.c b/wpa_supplicant/dpp_supplicant.c
index f544294..13b5326 100644
--- a/wpa_supplicant/dpp_supplicant.c
+++ b/wpa_supplicant/dpp_supplicant.c
@@ -2176,7 +2176,7 @@ int wpas_dpp_configurator_sign(struct wpa_supplicant *wpa_s, const char *cmd)
curve = get_param(cmd, " curve=");
wpas_dpp_set_configurator(wpa_s, auth, cmd);
- if (dpp_configurator_own_config(auth, curve) == 0) {
+ if (dpp_configurator_own_config(auth, curve, 0) == 0) {
wpas_dpp_handle_config_obj(wpa_s, auth);
ret = 0;
}