eiwd

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

commit e519d1139a89cbf376c5c43baf8141c63f4ea4e5
parent 80ed3ef5b25d6871b9281b36f46f542887842463
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Fri,  8 Oct 2021 12:27:46 -0500

eapol: Remove unneeded assignment

gtk and igtk are already initialized to NULL at declaration time.
There's no need to set them to NULL here.

Diffstat:
Msrc/eapol.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/eapol.c b/src/eapol.c @@ -1852,8 +1852,7 @@ static void eapol_handle_ptk_3_of_4(struct eapol_sm *sm, gtk_key_index = bit_field(gtk[0], 0, 2); gtk += 2; gtk_len -= 2; - } else - gtk = NULL; + } if (hs->mfp) { igtk = handshake_util_find_igtk_kde(decrypted_key_data, @@ -1867,8 +1866,7 @@ static void eapol_handle_ptk_3_of_4(struct eapol_sm *sm, igtk_key_index = l_get_le16(igtk); igtk += 2; igtk_len -= 2; - } else - igtk = NULL; + } key_id = handshake_util_find_kde(HANDSHAKE_KDE_KEY_ID, decrypted_key_data,