1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-10 13:04:23 +01:00

scd: Fix updating slot status.

* scd/comman.c (do_reset): Let clear card_removed flag.
This commit is contained in:
NIIBE Yutaka 2012-06-22 10:51:12 +09:00
parent 4f557cb9c2
commit 8db2e4039f

View File

@ -321,7 +321,7 @@ do_reset (ctrl_t ctrl, int send_reset)
break;
default:
apdu_close_reader (slot);
slot = slot_table[slot].slot = -1;
slot_table[slot].slot = -1;
break;
}
}