Merge pull request #35 from gravityblast/patch-1
fix application status response length
This commit is contained in:
commit
734347a093
|
@ -471,7 +471,7 @@ public class KeycardApplet extends Applet {
|
|||
*/
|
||||
private short getApplicationStatus(byte[] apduBuffer, short off) {
|
||||
apduBuffer[off++] = TLV_APPLICATION_STATUS_TEMPLATE;
|
||||
apduBuffer[off++] = 12;
|
||||
apduBuffer[off++] = 9;
|
||||
apduBuffer[off++] = TLV_INT;
|
||||
apduBuffer[off++] = 1;
|
||||
apduBuffer[off++] = pin.getTriesRemaining();
|
||||
|
|
Loading…
Reference in New Issue