Skip to content

Commit

Permalink
Merge pull request #35 from gravityblast/patch-1
Browse files Browse the repository at this point in the history
fix application status response length
  • Loading branch information
bitgamma committed Mar 18, 2019
2 parents 56a6d7d + 2d366d6 commit 734347a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/im/status/keycard/KeycardApplet.java
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ private void setNDEF(APDU apdu) {
*/
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();
Expand Down

0 comments on commit 734347a

Please sign in to comment.