diff options
author | NIIBE Yutaka <[email protected]> | 2021-06-17 07:07:09 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2021-06-17 07:07:09 +0000 |
commit | 7718244168c948171ffd37d7e964cbcd172661c6 (patch) | |
tree | ad5a272b6471be7cf0946db497b1eafa2748c7d3 /scd/app.c | |
parent | po: Fix Simplified Chinese Translation. (diff) | |
download | gnupg-7718244168c948171ffd37d7e964cbcd172661c6.tar.gz gnupg-7718244168c948171ffd37d7e964cbcd172661c6.zip |
scd: Fix RESET handling.
* scd/app.c (scd_update_reader_status_file): Clear ->reset_requested.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'scd/app.c')
-rw-r--r-- | scd/app.c | 6 |
1 files changed, 5 insertions, 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); |