mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-18 01:53:06 -05:00
EAP-FAST server: Remove unused assignment
Commit e8c08c9a363340c45baf8e13c758c99078bc0d8b ('EAP-FAST server: Fix potential read-after-buffer (by one byte)') changed the while loop design in a way that does not require the pos variable to be updated anymore. Remove that unneeded code to clean up static analyzer warnings about unused assignments. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
e9471493ef
commit
6f577c5e45
@ -186,7 +186,6 @@ static int eap_fast_session_ticket_cb(void *ctx, const u8 *ticket, size_t len,
|
||||
|
||||
switch (*pos) {
|
||||
case PAC_OPAQUE_TYPE_PAD:
|
||||
pos = end;
|
||||
goto done;
|
||||
case PAC_OPAQUE_TYPE_KEY:
|
||||
if (pos[1] != EAP_FAST_PAC_KEY_LEN) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user