aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_file.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-01-14 13:31:28 (GMT)
committerJouni Malinen <j@w1.fi>2015-01-14 13:45:18 (GMT)
commitcebee30f3170b5104a41bd27ac5f98615ed57656 (patch)
tree2a995507c92ecbcd5f749b5591b2735d1ec441d4 /wpa_supplicant/config_file.c
parent2099fed400bd5cd95a3e3085e16e061e466bb8c1 (diff)
downloadhostap-cebee30f3170b5104a41bd27ac5f98615ed57656.zip
hostap-cebee30f3170b5104a41bd27ac5f98615ed57656.tar.gz
hostap-cebee30f3170b5104a41bd27ac5f98615ed57656.tar.bz2
Add domain_match network profile parameter
This is similar with domain_suffix_match, but required a full match of the domain name rather than allowing suffix match (subdomains) or wildcard certificates. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/config_file.c')
-rw-r--r--wpa_supplicant/config_file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c
index 9d73a2f..ce5c2eb 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -691,6 +691,7 @@ static void wpa_config_write_network(FILE *f, struct wpa_ssid *ssid)
STR(subject_match);
STR(altsubject_match);
STR(domain_suffix_match);
+ STR(domain_match);
STR(ca_cert2);
STR(ca_path2);
STR(client_cert2);
@@ -700,6 +701,7 @@ static void wpa_config_write_network(FILE *f, struct wpa_ssid *ssid)
STR(subject_match2);
STR(altsubject_match2);
STR(domain_suffix_match2);
+ STR(domain_match2);
STR(phase1);
STR(phase2);
STR(pcsc);