scd: More conservative selection of a card reader.

* scd/apdu.c (select_a_reader): Only SPRx32 is in the white list.

--

GnuPG-bug-id: 5644
Fixes-commit: 752422a792
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2021-11-10 11:58:16 +09:00
parent 46ada6a9bd
commit 0982c6cb19
1 changed files with 1 additions and 1 deletions

View File

@ -1199,7 +1199,7 @@ select_a_reader (const char *list, unsigned int len)
};
const char *white_list_to_prefer[] = {
/* We do substring match by strstr(3). */
"SPRx32", "cyberJack", "Gnuk", "Trustica"
"SPRx32"
};
const char *p = list;
const char *candidate = NULL;