mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
scd: Fix the changes of scd/command.c
* scd/command.c (do_reset): Assign slot after setting slot_table.
This commit is contained in:
parent
5c1eb6dba8
commit
c86e9bd1bc
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ do_reset (ctrl_t ctrl, int send_reset)
|
|||
break;
|
||||
default:
|
||||
apdu_close_reader (slot);
|
||||
slot_table[slot].slot = slot = -1;
|
||||
slot = slot_table[slot].slot = -1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue