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:
parent
46ada6a9bd
commit
0982c6cb19
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user