set the secure channel as closed on reset
This commit is contained in:
parent
a2b0b8d3f6
commit
7e3787feb3
|
@ -92,6 +92,7 @@ public class WalletAppletCommandSet {
|
|||
|
||||
if (resp.getSW() == 0x9000) {
|
||||
this.secureChannel.generateSecret(extractPublicKeyFromSelect(resp.getData()));
|
||||
this.secureChannel.reset();
|
||||
}
|
||||
|
||||
return resp;
|
||||
|
|
Loading…
Reference in New Issue