TTLS client: Support phase2_auth=2

Allow the phase2_auth=2 parameter (in phase1 configuration item) to be
used with EAP-TTLS to require Phase 2 authentication. In practice, this
disables TLS session resumption since EAP-TTLS is defined to skip Phase
2 when resuming a session.

Bug: 287119604
Test: Manual - WPA/WPA2 & WPA3 Enterprise connection
Test: Regression test b/289297084
BYPASS_INCLUSIVE_LANGUAGE_REASON=Merged from open source

Change-Id: I8a434e543749b56fbc74dfcd85ab658247c9f832
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
1 file changed