]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Verify MSCHAPV2 support in eap_peap_session_resumption
authorSean Parkinson <sean@wolfssl.com>
Thu, 18 Jan 2018 02:26:39 +0000 (12:26 +1000)
committerJouni Malinen <j@w1.fi>
Sat, 3 Mar 2018 09:52:40 +0000 (11:52 +0200)
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>
tests/hwsim/test_ap_eap.py

index 818e341a7be6e5ab6ec8ce82b27e3c2758823372..1707a3085f572b7a7e342ca739f817c58c7aed45 100644 (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)