mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-04-17 21:58:27 +00:00
Logout user when applet selected.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
f1c0b12f5c
commit
1c6fb98350
1 changed files with 1 additions and 0 deletions
|
|
@ -110,6 +110,7 @@ void select_file(file_t *pe) {
|
|||
}
|
||||
if (currentEF == file_openpgp || currentEF == file_sc_hsm) {
|
||||
selected_applet = currentEF;
|
||||
sc_hsm_unload(); //reset auth status
|
||||
}
|
||||
}
|
||||
static int cmd_select() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue