From a76376cac4e2b5b5e803344f0871a51791ae279e Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Fri, 25 Jan 2019 11:23:10 -0800 Subject: [PATCH] handshake: add HANDSHAKE_EVENT_REKEY_FAILED This event will be emitted from eapol if the AP is attempting to rekey but the handshake object does not allow it (via no_rekey). --- src/handshake.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/handshake.h b/src/handshake.h index a74b2dcf..b9175c11 100644 --- a/src/handshake.h +++ b/src/handshake.h @@ -48,7 +48,8 @@ enum handshake_event { HANDSHAKE_EVENT_SETTING_KEYS, HANDSHAKE_EVENT_SETTING_KEYS_FAILED, HANDSHAKE_EVENT_COMPLETE, - HANDSHAKE_EVENT_FAILED + HANDSHAKE_EVENT_FAILED, + HANDSHAKE_EVENT_REKEY_FAILED, }; typedef void (*handshake_event_func_t)(struct handshake_state *hs,