diff options
author | Jouni Malinen <jouni@qca.qualcomm.com> | 2016-01-15 16:18:25 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2016-01-15 16:18:25 (GMT) |
commit | fb3db14a6f88d57320da5deee626b436c242fa7b (patch) | |
tree | 075051c6803eed67a6b40abd54c99ae227531314 | |
parent | 5b0ec907c197edfef8b00b8e2bd7daaee86b8933 (diff) | |
download | hostap-fb3db14a6f88d57320da5deee626b436c242fa7b.zip hostap-fb3db14a6f88d57320da5deee626b436c242fa7b.tar.gz hostap-fb3db14a6f88d57320da5deee626b436c242fa7b.tar.bz2 |
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>
-rw-r--r-- | tests/hwsim/test_eap_proto.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/hwsim/test_eap_proto.py b/tests/hwsim/test_eap_proto.py index 820dab9..5c01923 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" ) ] |