mirror of
git://git.gnupg.org/gnupg.git
synced 2025-05-19 09:02:22 +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
@ -2258,7 +2258,11 @@ scd_update_reader_status_file (void)
|
|||||||
card_next = card->next;
|
card_next = card->next;
|
||||||
|
|
||||||
if (card->reset_requested)
|
if (card->reset_requested)
|
||||||
status = 0;
|
{
|
||||||
|
/* Here is the post-processing of RESET request. */
|
||||||
|
status = 0;
|
||||||
|
card->reset_requested = 0;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sw = apdu_get_status (card->slot, 0, &status);
|
sw = apdu_get_status (card->slot, 0, &status);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user