Home GnuPG
Diffusion GnuPG ed0328d49ad7

scd: call update_card_removed only when detecting removal.
ed0328d49ad7Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

scd: call update_card_removed only when detecting removal.

* scd/command.c (update_reader_status_file): Add condition
ss->status == 0.

To reproduce the bug: (1) insert card,

(2) run "gpg2 --card-status",
(3) remove card, (4) invoke "gpg2 --card-edit",
(5) invoke some command like "verify"

The last step fails (but with no error message to user).

Details

Provenance
gniibeAuthored on Mar 26 2013, 12:43 AM
Parents
rGae22d629b602: scd: PC/SC cleanup.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rGed0328d49ad7: scd: call update_card_removed only when detecting removal. (authored by NIIBE Yutaka <gniibe@fsij.org>).Mar 26 2013, 12:43 AM