tests: eap_pwd_perform_confirm_exchange() local failure

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2019-04-13 18:35:47 +03:00
parent b95d79e7bc
commit d7c98f9558

View File

@ -6895,7 +6895,8 @@ def test_eap_proto_pwd_errors(dev, apdev):
dev[0].wait_disconnected() dev[0].wait_disconnected()
funcs = ["eap_pwd_getkey", "eap_pwd_get_emsk", funcs = ["eap_pwd_getkey", "eap_pwd_get_emsk",
"=wpabuf_alloc;eap_pwd_perform_commit_exchange"] "=wpabuf_alloc;eap_pwd_perform_commit_exchange",
"=wpabuf_alloc;eap_pwd_perform_confirm_exchange"]
for func in funcs: for func in funcs:
with alloc_fail(dev[0], 1, func): with alloc_fail(dev[0], 1, func):
dev[0].connect("eap-test", key_mgmt="WPA-EAP", scan_freq="2412", dev[0].connect("eap-test", key_mgmt="WPA-EAP", scan_freq="2412",