aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgtar.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2015-12-04 05:13:23 +0000
committerNIIBE Yutaka <[email protected]>2015-12-04 05:13:23 +0000
commit9639af5f16a7ed908cbce2415330b9fcd88edc90 (patch)
tree8017012c310bf1d417583d45b8d4fd49048a2bdd /tools/gpgtar.c
parentscd: More fix for Curve25519 prefix handling. (diff)
downloadgnupg-9639af5f16a7ed908cbce2415330b9fcd88edc90.tar.gz
gnupg-9639af5f16a7ed908cbce2415330b9fcd88edc90.zip
scd: Simplify saving application context.
* scd/app.c (lock_table): Remove LAST_APP field. (lock_reader, app_dump_state, application_notify_card_reset) (release_application): Follow the change. (check_conflict): New. (check_application_conflict): Lock the slot and call check_conflict. (select_application): Call check_conflict and not use LAST_APP. -- We don't need LAST_APP field but just keep the application context by APP field. Since we have a reference counter, it is possible if we can deallocate or not.
Diffstat (limited to 'tools/gpgtar.c')
0 files changed, 0 insertions, 0 deletions