set the secure channel as closed on reset

This commit is contained in:
Michele Balistreri 2018-11-12 17:24:57 +03:00
parent a2b0b8d3f6
commit 7e3787feb3
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ public class WalletAppletCommandSet {
if (resp.getSW() == 0x9000) {
this.secureChannel.generateSecret(extractPublicKeyFromSelect(resp.getData()));
this.secureChannel.reset();
}
return resp;