1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

scd,pcsc: Remove the restriction of no-scanning in PC/SC.

* scd/apdu.h (app_open_reader): Remove the last argument.
* scd/apdu.c (app_open_reader): Ditto.
* scd/app.c (select_application): Don't supply APP_EMPTY.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2019-09-12 08:48:48 +09:00
parent 92be4e87ee
commit c569e49d17
3 changed files with 3 additions and 12 deletions

View file

@ -2055,7 +2055,7 @@ apdu_dev_list_finish (struct dev_list *dl)
int
apdu_open_reader (struct dev_list *dl, int app_empty)
apdu_open_reader (struct dev_list *dl)
{
int slot;
@ -2175,15 +2175,6 @@ apdu_open_reader (struct dev_list *dl, int app_empty)
/* Not found. */
slot = -1;
#if 0
if (app_empty && dl->idx == 0)
{
dl->idx++;
slot = apdu_open_one_reader (dl->portstr);
}
else
slot = -1;
#endif
}
return slot;