Fix TNC with EAP-TTLS
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 13 Mar 2009 16:18:18 +0000 (18:18 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 13 Mar 2009 16:20:59 +0000 (18:20 +0200)
commit51853c899bcff996dbcfc352010a2157a4dd188b
tree50af9947fc181942a3ac24f4e73cf41fe7b3bb42
parent99bff8430fd59dc77db56642a40ef8e6c430db28
Fix TNC with EAP-TTLS

This was broken by 510c02d4a362cd572303fa845b139eacb2dab387 which added
validation of eap_ttls_phase2_eap_init() return value. The main problem
in the code trying to initialize a new phase 2 EAP method
unconditionally; this should only happen if there is a new method in the
inner method sequence.
hostapd/ChangeLog
src/eap_server/eap_ttls.c