mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
scd: Remove fallback mechanism to PC/SC.
* scd/apdu.c [HAVE_LIBUSB] (apdu_open_reader): Simply let it fail. GnuPG-bug-id: 4673 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
bb82ad018a
commit
100642e776
@ -2107,13 +2107,7 @@ apdu_open_reader (struct dev_list *dl, int app_empty)
|
||||
dl->idx++;
|
||||
}
|
||||
|
||||
/* Not found. Try one for PC/SC, only when it's the initial scan. */
|
||||
if (app_empty && dl->idx == dl->idx_max)
|
||||
{
|
||||
dl->idx++;
|
||||
slot = apdu_open_one_reader (dl->portstr);
|
||||
}
|
||||
else
|
||||
/* Not found. */
|
||||
slot = -1;
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user