Parcourir la source

tests: Fix EAP-SAKE error test case coverage

This was missing the second eap_sake_compute_mic() call in
eap_sake_process_confirm().

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Jouni Malinen il y a 9 ans
Parent
commit
fb3db14a6f
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      tests/hwsim/test_eap_proto.py

+ 2 - 0
tests/hwsim/test_eap_proto.py

@@ -721,7 +721,9 @@ def test_eap_proto_sake_errors(dev, apdev):
               ( 1, "=eap_sake_process_challenge" ),
               ( 1, "eap_sake_compute_mic;eap_sake_process_challenge" ),
               ( 1, "eap_sake_build_msg;eap_sake_process_confirm" ),
+              ( 1, "eap_sake_compute_mic;eap_sake_process_confirm" ),
               ( 2, "eap_sake_compute_mic;eap_sake_process_confirm" ),
+              ( 3, "eap_sake_compute_mic;eap_sake_process_confirm" ),
               ( 1, "eap_sake_getKey" ),
               ( 1, "eap_sake_get_emsk" ),
               ( 1, "eap_sake_get_session_id" ) ]