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).
This commit is contained in:
James Prestwood 2019-01-25 11:23:10 -08:00 committed by Denis Kenzior
parent 2a7a756c9f
commit a76376cac4
1 changed files with 2 additions and 1 deletions

View File

@ -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,