1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-03 12:11:33 +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 ff40c05e8b
commit a90f0fca55

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;
}
}