]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Skip IEEE 802.1X dynamic WEP tests in FIPS mode
authorJouni Malinen <j@w1.fi>
Sun, 2 Aug 2015 12:50:23 +0000 (15:50 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 2 Aug 2015 13:52:56 +0000 (16:52 +0300)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ieee8021x.py

index 4ba4c66c98e60bcdbfab59adf1cf410bf2ed0c7a..d35a4d4a79db5e3b5b3194ab06fe4b15c03047dc 100644 (file)
@@ -11,11 +11,13 @@ import time
 
 import hostapd
 import hwsim_utils
+from utils import skip_with_fips
 
 logger = logging.getLogger()
 
 def test_ieee8021x_wep104(dev, apdev):
     """IEEE 802.1X connection using dynamic WEP104"""
+    skip_with_fips(dev[0])
     params = hostapd.radius_params()
     params["ssid"] = "ieee8021x-wep"
     params["ieee8021x"] = "1"
@@ -31,6 +33,7 @@ def test_ieee8021x_wep104(dev, apdev):
 
 def test_ieee8021x_wep40(dev, apdev):
     """IEEE 802.1X connection using dynamic WEP40"""
+    skip_with_fips(dev[0])
     params = hostapd.radius_params()
     params["ssid"] = "ieee8021x-wep"
     params["ieee8021x"] = "1"
@@ -222,6 +225,7 @@ def send_eapol_key(dev, bssid, signkey, frame_start, frame_end):
 
 def test_ieee8021x_eapol_key(dev, apdev):
     """IEEE 802.1X connection and EAPOL-Key protocol tests"""
+    skip_with_fips(dev[0])
     params = hostapd.radius_params()
     params["ssid"] = "ieee8021x-wep"
     params["ieee8021x"] = "1"