Home GnuPG
Diffusion GnuPG 1062893832bb

scd: call update_card_removed only when detecting removal.
1062893832bbUnpublished

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
vr->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
rGee95c23fcdc6: scd: PC/SC cleanup.
Branches
Unknown
Tags
Unknown

Event Timeline

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