eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 483194ee91b1ac5e368b251156994a4c0e4901dd
parent d984c605f7262fd751e167d065647dfaa7a94bb5
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Mon, 15 Jul 2019 21:45:32 -0500

unit: Update to the new handshake_state API

Diffstat:
Munit/test-eapol.c | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/unit/test-eapol.c b/unit/test-eapol.c @@ -2170,12 +2170,12 @@ static void eapol_sm_test_ptk(const void *data) expected_step4_frame_size = sizeof(eapol_key_data_6); hs = test_handshake_state_new(1); + /* key_data_3 uses 2004 while key_data_3 uses 2001, so force 2001 */ + handshake_state_set_protocol_version(hs, EAPOL_PROTOCOL_VERSION_2001); + sm = eapol_sm_new(hs); eapol_register(sm); - /* key_data_3 uses 2004 while key_data_3 uses 2001, so force 2001 */ - eapol_sm_set_protocol_version(sm, EAPOL_PROTOCOL_VERSION_2001); - handshake_state_set_pmk(hs, psk, sizeof(psk)); handshake_state_set_authenticator_address(hs, aa); handshake_state_set_supplicant_address(hs, spa); @@ -2234,12 +2234,12 @@ static void eapol_sm_test_igtk(const void *data) expected_step4_frame_size = sizeof(eapol_key_data_32); hs = test_handshake_state_new(1); + /* key_data_29 uses 2004 while key_data_30 uses 2001, so force 2001 */ + handshake_state_set_protocol_version(hs, EAPOL_PROTOCOL_VERSION_2001); + sm = eapol_sm_new(hs); eapol_register(sm); - /* key_data_29 uses 2004 while key_data_30 uses 2001, so force 2001 */ - eapol_sm_set_protocol_version(sm, EAPOL_PROTOCOL_VERSION_2001); - handshake_state_set_pmk(hs, psk, sizeof(psk)); handshake_state_set_authenticator_address(hs, aa); handshake_state_set_supplicant_address(hs, spa);