]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix cert_in_cb parsing in wpa_supplicant.conf
authorJouni Malinen <j@w1.fi>
Sat, 7 Jan 2017 21:20:35 +0000 (23:20 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 7 Jan 2017 22:10:57 +0000 (00:10 +0200)
Commit 483dd6a5e0069d0646505c26a5194eda15472858 ('Include peer
certificate always in EAP events') added this wpa_supplicant global
configuration parameter, but forgot to add the actual parsing of it, so
there was no way of setting the value.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/config.c

index 2a26d2da3bffe39c09df4aad8992748ad501574d..bdaaa5430a152c74e5fdc1ad5986c26d2d4e9cf5 100644 (file)
@@ -4445,6 +4445,7 @@ static const struct global_parse_data global_fields[] = {
        { INT_RANGE(fst_priority, 1, FST_MAX_PRIO_VALUE), 0 },
        { INT_RANGE(fst_llt, 1, FST_MAX_LLT_MS), 0 },
 #endif /* CONFIG_FST */
+       { INT_RANGE(cert_in_cb, 0, 1), 0 },
        { INT_RANGE(wpa_rsc_relaxation, 0, 1), 0 },
        { STR(sched_scan_plans), CFG_CHANGED_SCHED_SCAN_PLANS },
 #ifdef CONFIG_MBO