Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PIV: disable status requests if logged in
TODO That being said, the conditions for this special treatment should be refined to something like IF logged in with "PIN Always"/"OCC Always" THEN avoid unnecessary APDUs. Also, the logged-in-state should be reset in this case if some APDU was sent - in best case the signature APDU, in worst case some other APDU that cannot be avoided. This refinement should also applied to the existing code referenced above, I think. fixes OpenSC#3159
- Loading branch information