1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-10 13:04:23 +01:00
NIIBE Yutaka 520c85ed94 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.

(backport of commit 9639af5f16a7ed908cbce2415330b9fcd88edc90)
2015-12-15 09:49:29 +09:00
..
2015-12-15 09:48:06 +09:00
2013-02-08 09:20:43 +09:00
2015-12-15 09:48:06 +09:00
2013-02-08 09:20:43 +09:00
2009-05-08 15:07:45 +00:00
2013-02-08 09:20:43 +09:00
2009-12-21 16:19:09 +00:00
2007-07-04 19:49:40 +00:00
2007-07-04 19:49:40 +00:00
2007-07-04 19:49:40 +00:00
2008-11-03 10:54:18 +00:00
2007-07-04 19:49:40 +00:00
2013-02-08 09:20:43 +09:00
2013-02-08 09:20:43 +09:00
2013-02-08 09:20:43 +09:00