Home GnuPG
Diffusion GnuPG cd29dc0f1cf7

Fix detection of card removal and insertion.
cd29dc0f1cf7Unpublished

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
Parents
rGea0a21410b8f: gitlog-to-changelog: New option --tear-off.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGcd29dc0f1cf7: Fix detection of card removal and insertion. (authored by Werner Koch <wk@gnupg.org>).Dec 12 2011, 8:34 PM