Logout user when applet selected.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -110,6 +110,7 @@ void select_file(file_t *pe) {
|
|||||||
}
|
}
|
||||||
if (currentEF == file_openpgp || currentEF == file_sc_hsm) {
|
if (currentEF == file_openpgp || currentEF == file_sc_hsm) {
|
||||||
selected_applet = currentEF;
|
selected_applet = currentEF;
|
||||||
|
sc_hsm_unload(); //reset auth status
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
static int cmd_select() {
|
static int cmd_select() {
|
||||||
|
|||||||
Reference in New Issue
Block a user