scd: Also prefer Yubikeys if no reader port is given.

* scd/apdu.c (select_a_reader): Extend the white list.
This commit is contained in:
Werner Koch 2022-01-25 19:02:38 +01:00
parent b64cae5abb
commit 38c666ec3f
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 2 additions and 1 deletions

View File

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