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:
Jouni Malinen 2012-03-03 12:35:14 +02:00
parent 400020cbe8
commit f41ed0f845

View file

@ -258,8 +258,8 @@ static int scard_parse_fsp_templ(unsigned char *buf, size_t buf_len,
pos, end - pos); pos, end - pos);
while (pos + 1 < end) { while (pos + 1 < end) {
wpa_printf(MSG_MSGDUMP, "SCARD: file header TLV " wpa_printf(MSG_MSGDUMP, "SCARD: file header TLV 0x%02x len=%d",
"0x%02x len=%d", pos[0], pos[1]); pos[0], pos[1]);
if (pos + 2 + pos[1] > end) if (pos + 2 + pos[1] > end)
break; 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 && if (pos[0] == USIM_TLV_PIN_STATUS_TEMPLATE &&
pos[1] >= 2 && pos[2] == USIM_PS_DO_TAG && pos[1] >= 2 && pos[2] == USIM_PS_DO_TAG &&
pos[3] >= 1 && ps_do) { pos[3] >= 1 && ps_do) {
wpa_printf(MSG_DEBUG, "SCARD: PS_DO=0x%02x", wpa_printf(MSG_DEBUG, "SCARD: PS_DO=0x%02x", pos[4]);
pos[4]);
*ps_do = (int) pos[4]; *ps_do = (int) pos[4];
} }