Logout user when applet selected.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2022-03-10 00:48:47 +01:00
parent f1c0b12f5c
commit 1c6fb98350

View File

@@ -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() {