diff options
author | Jouni Malinen <j@w1.fi> | 2011-11-19 16:52:52 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2011-11-19 16:52:52 +0200 |
commit | 5419d6afed1a49ebc49a5bd0347ba14e4c3b7def (patch) | |
tree | 6ddc9e861d0815f86876b2b572aca39bef302f15 /src/eap_common | |
parent | e547e071e1f4042d202cfaba4aded8558ec37173 (diff) | |
download | external_wpa_supplicant_8_ti-5419d6afed1a49ebc49a5bd0347ba14e4c3b7def.zip external_wpa_supplicant_8_ti-5419d6afed1a49ebc49a5bd0347ba14e4c3b7def.tar.gz external_wpa_supplicant_8_ti-5419d6afed1a49ebc49a5bd0347ba14e4c3b7def.tar.bz2 |
EAP-pwd: Remove struct eap_pwd_hdr
This structure was not really used for anything apart from figuring out
length of the EAP-pwd header (and even that in a way that would not work
with fragmentation). Since the bitfields in the structure could have
been problematic depending on target endianness, remove this unnecessary
structure.
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/eap_common')
-rw-r--r-- | src/eap_common/eap_pwd_common.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/eap_common/eap_pwd_common.h b/src/eap_common/eap_pwd_common.h index 971386d..4b841b7 100644 --- a/src/eap_common/eap_pwd_common.h +++ b/src/eap_common/eap_pwd_common.h @@ -35,13 +35,8 @@ typedef struct group_definition_ { /* * EAP-pwd header, included on all payloads + * L(1 bit) | M(1 bit) | exch(6 bits) | total_length(if L is set) */ -struct eap_pwd_hdr { - u8 l_bit:1; - u8 m_bit:1; - u8 exch:6; - u8 total_length[0]; /* included when l_bit is set */ -} STRUCT_PACKED; #define EAP_PWD_OPCODE_ID_EXCH 1 #define EAP_PWD_OPCODE_COMMIT_EXCH 2 |