diff options
author | Jouni Malinen <j@w1.fi> | 2009-01-13 19:31:51 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2009-01-13 19:31:51 +0200 |
commit | 0b8695bb2b1b5f3644a7d1f421ac06172d9c5cd5 (patch) | |
tree | f6cced72518134ff444b13df65965ea72f8dae84 /src/eap_server | |
parent | 61e64e7b7fe6e7b8fe6c9b8ce0e02116e9439eba (diff) | |
download | external_wpa_supplicant_8_ti-0b8695bb2b1b5f3644a7d1f421ac06172d9c5cd5.zip external_wpa_supplicant_8_ti-0b8695bb2b1b5f3644a7d1f421ac06172d9c5cd5.tar.gz external_wpa_supplicant_8_ti-0b8695bb2b1b5f3644a7d1f421ac06172d9c5cd5.tar.bz2 |
Renamed shadowed variable
Diffstat (limited to 'src/eap_server')
-rw-r--r-- | src/eap_server/eap_peap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/eap_server/eap_peap.c b/src/eap_server/eap_peap.c index 4b2d5a5..9c265f9 100644 --- a/src/eap_server/eap_peap.c +++ b/src/eap_server/eap_peap.c @@ -370,17 +370,17 @@ static struct wpabuf * eap_peap_build_phase2_tlv(struct eap_sm *sm, u8 id) { struct wpabuf *buf, *encr_req; - size_t len; + size_t mlen; - len = 6; /* Result TLV */ + mlen = 6; /* Result TLV */ if (data->crypto_binding != NO_BINDING) - len += 60; /* Cryptobinding TLV */ + mlen += 60; /* Cryptobinding TLV */ #ifdef EAP_TNC if (data->soh_response) - len += wpabuf_len(data->soh_response); + mlen += wpabuf_len(data->soh_response); #endif /* EAP_TNC */ - buf = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TLV, len, + buf = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_TLV, mlen, EAP_CODE_REQUEST, id); if (buf == NULL) return NULL; |