EAP: Do not allow fast session resumption with different network block
authorJouni Malinen <j@w1.fi>
Sat, 26 Jul 2014 16:35:02 +0000 (19:35 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 26 Jul 2014 16:39:13 +0000 (19:39 +0300)
commit27a725cf74d5b3d8dc68a3a1cf3c3d44ca415ddb
tree8e2ab64737146c591e4ee181b30ac17a0cc7d5ea
parent52f4abfd06e7ab2703ee9eed2277582811cc3ff5
EAP: Do not allow fast session resumption with different network block

This forces EAP peer implementation to drop any possible fast resumption
data if the network block for the current connection is not the same as
the one used for the previous one. This allows different network blocks
to be used with non-matching parameters to enforce different rules even
if the same authentication server is used. For example, this allows
different CA trust rules to be enforced with different ca_cert
parameters which can prevent EAP-TTLS Phase 2 from being used based on
TLS session resumption.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/eap_peer/eap.c
src/eap_peer/eap_i.h