EAP-TTLS: Remove FreeRADIUS workaround for EAP-TTLS/MSCHAPv2
authorDmitry Shmidt <dimitrysh@google.com>
Wed, 16 Jul 2014 18:01:26 +0000 (11:01 -0700)
committerJouni Malinen <j@w1.fi>
Sun, 20 Jul 2014 07:20:24 +0000 (10:20 +0300)
commit870dfe99329e999a3684fd673ebf362bb9c3d7f8
tree61b53f612b4e7c3b7ad3a6f407b3d8c5c7c861f2
parent6d00ab04302df257cb3092b2b31b4eac42e77569
EAP-TTLS: Remove FreeRADIUS workaround for EAP-TTLS/MSCHAPv2

FreeRADIUS releases before 1.1.4 did not send MS-CHAP2-Success in
EAP-TTLS/MSCHAPv2. A wpa_supplicant workaround for that was added in
2005 and it has been enabled by default to avoid interoperability
issues. This could be disabled with all other EAP workarounds
(eap_workaround=0). However, that will disable some workarounds that are
still needed with number of authentication servers.

Old FreeRADIUS versions should not be in use anymore, so it makes sense
to remove this EAP-TTLS/MSCHAPv2 workaround completely to get more
complete validation of server behavior. This allows MSCHAPv2 to verify
that the server knows the password instead of relying only on the TLS
certificate validation.

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
src/eap_peer/eap_ttls.c