Commit 617ba2a4 authored by Josh Ji's avatar Josh Ji

doRest(): reset Logger.cursor

parent 917e69b4
......@@ -949,6 +949,7 @@ public class CTAP2 extends Applet implements ExtendedLength {
private void doReset(APDU apdu) {
// TODO: Implement Resetting
credentialArray = new CredentialArray((short) 5);
Logger.cursor=0;
JCSystem.requestObjectDeletion();
returnError(apdu, CTAP2ErrorCode.CTAP1_ERR_SUCCESS);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment