aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_winreg.c
diff options
context:
space:
mode:
authorCarolin Latze <carolin.latze@unifr.ch>2008-11-18 14:53:32 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-18 14:53:32 (GMT)
commit98842d51ec1d4c6b124774b2c2fdaa6b312a1dc0 (patch)
tree1d2e93d192679298449470070b73dd3850d1cb7c /wpa_supplicant/config_winreg.c
parent9ef21b2fef7d32ee55d7ef00b867ea08dcf05cfb (diff)
downloadhostap-98842d51ec1d4c6b124774b2c2fdaa6b312a1dc0.zip
hostap-98842d51ec1d4c6b124774b2c2fdaa6b312a1dc0.tar.gz
hostap-98842d51ec1d4c6b124774b2c2fdaa6b312a1dc0.tar.bz2
Separate OpenSSL engine configuration for Phase 2
I fixed the engine issue in phase2 of EAP-TTLS. The problem was that you only defined one engine variable, which was read already in phase1. I defined some new variables: engine2 engine2_id pin2 and added support to read those in phase2 wheres all the engine variables without number are only read in phase1. That solved it and I am now able to use an engine also in EAP-TTLS phase2.
Diffstat (limited to 'wpa_supplicant/config_winreg.c')
-rw-r--r--wpa_supplicant/config_winreg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/config_winreg.c b/wpa_supplicant/config_winreg.c
index 9746727..4ec50f6 100644
--- a/wpa_supplicant/config_winreg.c
+++ b/wpa_supplicant/config_winreg.c
@@ -770,9 +770,12 @@ static int wpa_config_write_network(HKEY hk, struct wpa_ssid *ssid, int id)
STR(cert_id);
STR(ca_cert_id);
STR(key2_id);
+ STR(pin2);
+ STR(engine2_id);
STR(cert2_id);
STR(ca_cert2_id);
INTe(engine);
+ INTe(engine2);
INT_DEF(eapol_flags, DEFAULT_EAPOL_FLAGS);
#endif /* IEEE8021X_EAPOL */
for (i = 0; i < 4; i++)