From 6d81e0a172fc3eb66840bb3263dad021e8a39870 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 14 Jun 2016 17:16:31 -0500 Subject: [PATCH] eapol: Add eapol_sm_get_group_cipher --- src/eapol.c | 5 +++++ src/eapol.h | 1 + 2 files changed, 6 insertions(+) diff --git a/src/eapol.c b/src/eapol.c index bcf6fd0f..de87685c 100644 --- a/src/eapol.c +++ b/src/eapol.c @@ -744,6 +744,11 @@ uint32_t eapol_sm_get_pairwise_cipher(struct eapol_sm *sm) return sm->pairwise_cipher; } +uint32_t eapol_sm_get_group_cipher(struct eapol_sm *sm) +{ + return sm->group_cipher; +} + static bool eapol_sm_ifindex_match(void *data, void *user_data) { struct eapol_sm *sm = data; diff --git a/src/eapol.h b/src/eapol.h index fa3f6ebc..9f2fb69a 100644 --- a/src/eapol.h +++ b/src/eapol.h @@ -189,6 +189,7 @@ void eapol_sm_set_user_data(struct eapol_sm *sm, void *user_data); void eapol_sm_set_tx_user_data(struct eapol_sm *sm, void *user_data); uint32_t eapol_sm_get_pairwise_cipher(struct eapol_sm *sm); +uint32_t eapol_sm_get_group_cipher(struct eapol_sm *sm); struct l_io *eapol_open_pae(uint32_t index);