Separate OpenSSL engine configuration for Phase 2
authorCarolin Latze <carolin.latze@unifr.ch>
Tue, 18 Nov 2008 14:53:32 +0000 (16:53 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 18 Nov 2008 14:53:32 +0000 (16:53 +0200)
commit98842d51ec1d4c6b124774b2c2fdaa6b312a1dc0
tree1d2e93d192679298449470070b73dd3850d1cb7c
parent9ef21b2fef7d32ee55d7ef00b867ea08dcf05cfb
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.
src/eap_peer/eap_config.h
src/eap_peer/eap_tls.c
src/eap_peer/eap_tls_common.c
wpa_supplicant/config.c
wpa_supplicant/config_file.c
wpa_supplicant/config_winreg.c