fix application status response length
This commit is contained in:
parent
56a6d7dd5e
commit
2d366d6e8e
|
@ -471,7 +471,7 @@ public class KeycardApplet extends Applet {
|
||||||
*/
|
*/
|
||||||
private short getApplicationStatus(byte[] apduBuffer, short off) {
|
private short getApplicationStatus(byte[] apduBuffer, short off) {
|
||||||
apduBuffer[off++] = TLV_APPLICATION_STATUS_TEMPLATE;
|
apduBuffer[off++] = TLV_APPLICATION_STATUS_TEMPLATE;
|
||||||
apduBuffer[off++] = 12;
|
apduBuffer[off++] = 9;
|
||||||
apduBuffer[off++] = TLV_INT;
|
apduBuffer[off++] = TLV_INT;
|
||||||
apduBuffer[off++] = 1;
|
apduBuffer[off++] = 1;
|
||||||
apduBuffer[off++] = pin.getTriesRemaining();
|
apduBuffer[off++] = pin.getTriesRemaining();
|
||||||
|
|
Loading…
Reference in New Issue