tests: Verify MSCHAPV2 support in eap_peap_session_resumption

This test case uses EAP-MSCHAPv2 within the PEAP tunnel, so verify that
the build includes support for that before running the test.

Signed-off-by: Sean Parkinson <sean@wolfssl.com>
This commit is contained in:
Sean Parkinson 2018-01-18 12:26:39 +10:00 committed by Jouni Malinen
parent fec03f9838
commit ead550b9dd

View file

@ -5497,6 +5497,7 @@ def test_eap_ttls_no_session_resumption(dev, apdev):
def test_eap_peap_session_resumption(dev, apdev):
"""EAP-PEAP session resumption"""
check_eap_capa(dev[0], "MSCHAPV2")
params = int_eap_server_params()
params['tls_session_lifetime'] = '60'
hapd = hostapd.add_ap(apdev[0], params)