EAP-FAST server: Remove unused assignment
Commit e8c08c9a36
('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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue