Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jpki/iso7816: explicityl check for PIN length != 0 on VERIFY
If we want to verify the PIN, we don't want the status request, which results in an almost identical APDU (VERIFY APDU with no data). However, as the request for verifying the PIN results in a CASE 3 APDU, `sc_check_apdu()` will check for missing data for the verification so that an error is returned and no PIN bypass is possible.
- Loading branch information