Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iso7816: if index is beyond file, return EOF
commands for data unit handling may return 6B00 if the specified index is too large (ISO 7816-4). Maybe SC_ERROR_OFFSET_TOO_LARGE would be more appropriate, but this is (1) currently not used only for internal errors and (2) this error code is not currently handled by sc_read_binary. Hence, we stick to SC_ERROR_FILE_END_REACHED.
- Loading branch information