diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2020-10-24 03:59:16 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2020-10-24 04:01:10 +0200 |
commit | 3c6b5dfa2a2379a5f5eaa052f7dbc73462097425 (patch) | |
tree | 94b53633c733ceeeb386ca403bde93405097e456 /scd/ccid-driver.c | |
parent | common: Allow building with released libgpg-error. (diff) | |
download | gnupg2-3c6b5dfa2a2379a5f5eaa052f7dbc73462097425.tar.xz gnupg2-3c6b5dfa2a2379a5f5eaa052f7dbc73462097425.zip |
scd: Internal CCID driver limiting only for SPR532.
* scd/ccid-driver.c (ccid_vendor_specific_init): Only do that for
SPR532.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'scd/ccid-driver.c')
-rw-r--r-- | scd/ccid-driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c index 944575e0b..cdda7caed 100644 --- a/scd/ccid-driver.c +++ b/scd/ccid-driver.c @@ -1270,7 +1270,7 @@ ccid_vendor_specific_init (ccid_driver_t handle) r = send_escape_cmd (handle, cmd, sizeof (cmd), NULL, 0, NULL); } - else if (handle->id_vendor == VENDOR_SCM) + else if (handle->id_vendor == VENDOR_SCM && handle->id_product == SCM_SPR532) { /* * It seems that SEQ may be out of sync between host and the card reader, |