From fb3db14a6f88d57320da5deee626b436c242fa7b Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 15 Jan 2016 18:18:25 +0200 Subject: [PATCH] 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 --- tests/hwsim/test_eap_proto.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/hwsim/test_eap_proto.py b/tests/hwsim/test_eap_proto.py index 820dab97a..5c019234a 100644 --- a/tests/hwsim/test_eap_proto.py +++ b/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" ) ]