From f07164b2eff8bd57d6147540da5d7c66fc41f84f Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 18 Oct 2017 20:40:10 -0500 Subject: [PATCH] eapol: Remove unneeded {} --- src/eapol.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/eapol.c b/src/eapol.c index 922837ac..b14d18fc 100644 --- a/src/eapol.c +++ b/src/eapol.c @@ -1383,10 +1383,9 @@ static void eapol_handle_gtk_1_of_2(struct eapol_sm *sm, handshake_state_install_gtk(sm->handshake, gtk_key_index, gtk, gtk_len, ek->key_rsc, 6); - if (igtk) { + if (igtk) handshake_state_install_igtk(sm->handshake, igtk_key_index, igtk + 6, igtk_len - 6, igtk); - } } static struct eapol_sm *eapol_find_sm(uint32_t ifindex, const uint8_t *aa)