aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/dpp_supplicant.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2018-12-01 22:26:21 (GMT)
committerJouni Malinen <j@w1.fi>2018-12-01 22:26:21 (GMT)
commite22c23382fdd3627ebc8ca3244cea8f155c07245 (patch)
treeb1535aa71785d66a621896faadaa3daf408a12fa /wpa_supplicant/dpp_supplicant.c
parentb856b943958ca61f3a4e5244e1774782f97cb7a1 (diff)
downloadhostap-e22c23382fdd3627ebc8ca3244cea8f155c07245.zip
hostap-e22c23382fdd3627ebc8ca3244cea8f155c07245.tar.gz
hostap-e22c23382fdd3627ebc8ca3244cea8f155c07245.tar.bz2
DPP: Apply testing configuration option to signing of own config
Previous implementation had missed this case of setting configurator parameters. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/dpp_supplicant.c')
-rw-r--r--wpa_supplicant/dpp_supplicant.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/dpp_supplicant.c b/wpa_supplicant/dpp_supplicant.c
index 6226ce8..4f38fb0 100644
--- a/wpa_supplicant/dpp_supplicant.c
+++ b/wpa_supplicant/dpp_supplicant.c
@@ -2298,6 +2298,7 @@ int wpas_dpp_configurator_sign(struct wpa_supplicant *wpa_s, const char *cmd)
return -1;
curve = get_param(cmd, " curve=");
+ wpas_dpp_set_testing_options(wpa_s, auth);
if (wpas_dpp_set_configurator(wpa_s, auth, cmd) == 0 &&
dpp_configurator_own_config(auth, curve, 0) == 0) {
wpas_dpp_handle_config_obj(wpa_s, auth);