mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
scd: Fix RESET handling.
* scd/app.c (scd_update_reader_status_file): Clear ->reset_requested. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
09c62e263b
commit
7718244168
1 changed files with 5 additions and 1 deletions
|
@ -2258,7 +2258,11 @@ scd_update_reader_status_file (void)
|
|||
card_next = card->next;
|
||||
|
||||
if (card->reset_requested)
|
||||
status = 0;
|
||||
{
|
||||
/* Here is the post-processing of RESET request. */
|
||||
status = 0;
|
||||
card->reset_requested = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
sw = apdu_get_status (card->slot, 0, &status);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue