Home GnuPG
Diffusion GnuPG 1e0a9498fee8

Fix detection of card removal and insertion.
1e0a9498fee8Unpublished

Unpublished Commit · Learn More

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

Description

Fix detection of card removal and insertion.

* scd/apdu.c (apdu_connect): Return status codes for no card available
and inactive card.
* scd/command.c (TEST_CARD_REMOVAL): Also test for GPG_ERR_CARD_RESET.
(open_card): Map apdu_connect status to GPG_ERR_CARD_RESET.

Details

Provenance
wernerAuthored on Dec 12 2011, 8:34 PM
gniibeCommitted on Jun 25 2012, 3:04 AM
Parents
rG8dff0096132f: Support the Cherry ST-2000 card reader.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG1e0a9498fee8: Fix detection of card removal and insertion. (authored by Werner Koch <wk@gnupg.org>).Jun 25 2012, 3:04 AM