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
1 changed files with 1 additions and 0 deletions

View File

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