hostap/src/eapol_auth
Jouni Malinen ae7d9fbd3d Remove unreachable PMKSA cache entry addition on Access-Accept
The previous implementation used an obsolete sm->eapol_key_crypt pointer
which was not set anywhere (i.e., was always NULL). In addition, the
condition of sm->eap_if->eapKeyAvailable was not valid here since this
is the case of MSK from an external authentication server and not the
internal EAP server. Consequently, the wpa_auth_pmksa_add() call here
was never used.

The PMKSA cache was still added, but it happened at the completion of
the 4-way handshake rather than at the completion of EAP authentication.
That later location looks better, so delete the unreachable code in
Access-Accept handling. In addition, remove the now complete unused
struct eapol_state_machine eapol_key_* variables.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2015-10-14 18:43:26 +03:00
..
eapol_auth_dump.c Check os_snprintf() result more consistently - automatic 1 2014-12-08 11:42:07 +02:00
eapol_auth_sm.c EAPOL auth: clear keyRun in AUTH_PAE INITIALIZE 2015-08-28 16:30:06 +03:00
eapol_auth_sm.h EAP server: Add tls_session_lifetime configuration 2015-08-24 02:29:30 +03:00
eapol_auth_sm_i.h Remove unreachable PMKSA cache entry addition on Access-Accept 2015-10-14 18:43:26 +03:00
Makefile tests: Add ap-mgmt-fuzzer 2015-04-22 11:44:19 +03:00