unit/test-eapol: fixed handshake frame in tls test

eapol_sm_test_tls was using an incorrect frame in
handshake_state_set_own_wpa.
This commit is contained in:
Rahul Rahul 2016-12-02 10:04:19 -06:00 committed by Denis Kenzior
parent 71932acd2d
commit 0453b4e52f
1 changed files with 1 additions and 1 deletions

View File

@ -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);