From 0453b4e52fc39afddb9b92f359d0a3508a2f1741 Mon Sep 17 00:00:00 2001 From: Rahul Rahul Date: Fri, 2 Dec 2016 10:04:19 -0600 Subject: [PATCH] unit/test-eapol: fixed handshake frame in tls test eapol_sm_test_tls was using an incorrect frame in handshake_state_set_own_wpa. --- unit/test-eapol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit/test-eapol.c b/unit/test-eapol.c index 992fc417..dcdb6b3e 100644 --- a/unit/test-eapol.c +++ b/unit/test-eapol.c @@ -2625,7 +2625,7 @@ static void eapol_sm_test_tls(struct eapol_8021x_tls_test_state *s, __eapol_set_tx_user_data(s); r = handshake_state_set_own_wpa(hs, - eapol_key_data_20 + sizeof(struct eapol_key)); + eapol_key_data_14 + sizeof(struct eapol_key)); assert(r); handshake_state_set_ap_wpa(hs, ap_wpa_ie);