aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_server/eap_server_peap.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-11-27 20:43:21 (GMT)
committerJouni Malinen <j@w1.fi>2011-11-27 20:43:21 (GMT)
commit0ac6c3f71a160964d1053288a3aa8fecfb488346 (patch)
tree73f8511f4077a26a15e13ea8c314c67dbc7cf606 /src/eap_server/eap_server_peap.c
parent864a8e3bf67e1c77702068cc14909b8d33cf032d (diff)
downloadhostap-0ac6c3f71a160964d1053288a3aa8fecfb488346.zip
hostap-0ac6c3f71a160964d1053288a3aa8fecfb488346.tar.gz
hostap-0ac6c3f71a160964d1053288a3aa8fecfb488346.tar.bz2
EAP-PEAP: Remove unused hdr assignment
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/eap_server/eap_server_peap.c')
-rw-r--r--src/eap_server/eap_server_peap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/eap_server/eap_server_peap.c b/src/eap_server/eap_server_peap.c
index 381c44a..50e79c0 100644
--- a/src/eap_server/eap_server_peap.c
+++ b/src/eap_server/eap_server_peap.c
@@ -1064,8 +1064,6 @@ static void eap_peap_process_phase2(struct eap_sm *sm,
wpa_hexdump_buf_key(MSG_DEBUG, "EAP-PEAP: Decrypted Phase 2 EAP",
in_decrypted);
- hdr = wpabuf_head(in_decrypted);
-
if (data->peap_version == 0 && data->state != PHASE2_TLV) {
const struct eap_hdr *resp;
struct eap_hdr *nhdr;