diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c index 8d616bb8b..22255d920 100644 --- a/wpa_supplicant/config.c +++ b/wpa_supplicant/config.c @@ -1296,6 +1296,11 @@ static const struct parse_data ssid_fields[] = { { STR_KEYe(pin) }, { STRe(engine_id) }, { STRe(key_id) }, + { STRe(cert_id) }, + { STRe(ca_cert_id) }, + { STRe(key2_id) }, + { STRe(cert2_id) }, + { STRe(ca_cert2_id) }, { INTe(engine) }, { INT(eapol_flags) }, #endif /* IEEE8021X_EAPOL */ @@ -1453,6 +1458,11 @@ static void eap_peer_config_free(struct eap_peer_config *eap) os_free(eap->pin); os_free(eap->engine_id); os_free(eap->key_id); + os_free(eap->cert_id); + os_free(eap->ca_cert_id); + os_free(eap->key2_id); + os_free(eap->cert2_id); + os_free(eap->ca_cert2_id); os_free(eap->otp); os_free(eap->pending_req_otp); os_free(eap->pac_file); diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c index fa39f64f5..ce9f0b628 100644 --- a/wpa_supplicant/config_file.c +++ b/wpa_supplicant/config_file.c @@ -754,6 +754,11 @@ static void wpa_config_write_network(FILE *f, struct wpa_ssid *ssid) STR(pin); STR(engine_id); STR(key_id); + STR(cert_id); + STR(ca_cert_id); + STR(key2_id); + STR(cert2_id); + STR(ca_cert2_id); INTe(engine); INT_DEF(eapol_flags, DEFAULT_EAPOL_FLAGS); #endif /* IEEE8021X_EAPOL */ diff --git a/wpa_supplicant/config_winreg.c b/wpa_supplicant/config_winreg.c index 1f1e548a2..fe43d781e 100644 --- a/wpa_supplicant/config_winreg.c +++ b/wpa_supplicant/config_winreg.c @@ -766,6 +766,11 @@ static int wpa_config_write_network(HKEY hk, struct wpa_ssid *ssid, int id) STR(pin); STR(engine_id); STR(key_id); + STR(cert_id); + STR(ca_cert_id); + STR(key2_id); + STR(cert2_id); + STR(ca_cert2_id); INTe(engine); INT_DEF(eapol_flags, DEFAULT_EAPOL_FLAGS); #endif /* IEEE8021X_EAPOL */