simutil: Remove pointless check

len is already checked >= 16 above
This commit is contained in:
Denis Kenzior 2019-11-13 15:35:50 -06:00
parent f9204363e0
commit 9111a1ac53
1 changed files with 0 additions and 4 deletions

View File

@ -1701,10 +1701,6 @@ gboolean sim_parse_umts_authenticate(const unsigned char *buffer,
break;
case 0xdc:
/* 'DC' + '0E' + AUTS(14) = 16 */
if (len < 16)
goto umts_end;
/* sync error */
if (buffer[1] != 0x0e)
goto umts_end;