1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-08 23:37:47 +02:00

scd: Fix commit 9a9bfd77.

* scd/app.c (check_application_conflict): Get SLOT.
This commit is contained in:
NIIBE Yutaka 2015-12-15 09:56:08 +09:00
parent 904fbdccd6
commit 8729f35510

View File

@ -223,6 +223,7 @@ check_conflict (int slot, const char *name)
gpg_error_t gpg_error_t
check_application_conflict (ctrl_t ctrl, const char *name) check_application_conflict (ctrl_t ctrl, const char *name)
{ {
int slot = ctrl->reader_slot;
gpg_error_t err; gpg_error_t err;
if (slot < 0 || slot >= DIM (lock_table)) if (slot < 0 || slot >= DIM (lock_table))