Call select AID if selected.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
1b5a7496e1
commit
4b099c9d1e
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ int process_apdu() {
|
|||
if (!memcmp(apps[a].aid + 1, apdu.data, MIN(apdu.nc, apps[a].aid[0]))) {
|
||||
if (current_app) {
|
||||
if (current_app->aid && !memcmp(current_app->aid + 1, apdu.data, apdu.nc)) {
|
||||
current_app->select_aid(current_app);
|
||||
return set_res_sw(0x90, 0x00);
|
||||
}
|
||||
if (current_app->unload) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue