1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-10 21:38:50 +01:00

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

View File

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