mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
scd: Fix commit 9a9bfd77.
* scd/app.c (check_application_conflict): Get SLOT.
This commit is contained in:
parent
904fbdccd6
commit
8729f35510
@ -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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user