SCARD: Reindent scard_parse_fsp_templ()
This was left at incorrect indentation level when moved to a separate function. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
400020cbe8
commit
f41ed0f845
1 changed files with 50 additions and 51 deletions
|
@ -258,8 +258,8 @@ static int scard_parse_fsp_templ(unsigned char *buf, size_t buf_len,
|
|||
pos, end - pos);
|
||||
|
||||
while (pos + 1 < end) {
|
||||
wpa_printf(MSG_MSGDUMP, "SCARD: file header TLV "
|
||||
"0x%02x len=%d", pos[0], pos[1]);
|
||||
wpa_printf(MSG_MSGDUMP, "SCARD: file header TLV 0x%02x len=%d",
|
||||
pos[0], pos[1]);
|
||||
if (pos + 2 + pos[1] > end)
|
||||
break;
|
||||
|
||||
|
@ -277,8 +277,7 @@ static int scard_parse_fsp_templ(unsigned char *buf, size_t buf_len,
|
|||
if (pos[0] == USIM_TLV_PIN_STATUS_TEMPLATE &&
|
||||
pos[1] >= 2 && pos[2] == USIM_PS_DO_TAG &&
|
||||
pos[3] >= 1 && ps_do) {
|
||||
wpa_printf(MSG_DEBUG, "SCARD: PS_DO=0x%02x",
|
||||
pos[4]);
|
||||
wpa_printf(MSG_DEBUG, "SCARD: PS_DO=0x%02x", pos[4]);
|
||||
*ps_do = (int) pos[4];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue