aboutsummaryrefslogtreecommitdiffstats
path: root/kbx/keybox-openpgp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-11-26 11:16:56 +0000
committerWerner Koch <[email protected]>2020-11-26 11:16:56 +0000
commitd784e763495c8d53e29a2debdd9c0e0578f15a6a (patch)
tree0cb5367ca173205424a60f6b81a32350fe12c2c0 /kbx/keybox-openpgp.c
parentscd: Add special serialno compare for OpenPGP cards. (diff)
downloadgnupg-d784e763495c8d53e29a2debdd9c0e0578f15a6a.tar.gz
gnupg-d784e763495c8d53e29a2debdd9c0e0578f15a6a.zip
scd: Do not try to use a non-enabled app after card switching.
* scd/app.c (app_dump_state): Also print the refcount. (maybe_switch_app): Make sure the app exists on the card. -- When switching the current card and the card does not support the same apps as the former, we now reset the app to the first one. Testcase is to use a standard OpenPGP card and a P15 card. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'kbx/keybox-openpgp.c')
0 files changed, 0 insertions, 0 deletions