aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2020-10-24 01:59:16 +0000
committerWerner Koch <[email protected]>2020-10-26 12:31:02 +0000
commitd1c9cc3ca03d2134a0feecab6db3c4af308c7fa7 (patch)
treea2f433c76cd538b9e8b0efebafcbe4b360bf0d98
parentg10,sm: Use gnupg_access at two more places. (diff)
downloadgnupg-d1c9cc3ca03d2134a0feecab6db3c4af308c7fa7.tar.gz
gnupg-d1c9cc3ca03d2134a0feecab6db3c4af308c7fa7.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 <[email protected]>
-rw-r--r--scd/ccid-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c
index 77528d81e..00b81ea0a 100644
--- a/scd/ccid-driver.c
+++ b/scd/ccid-driver.c
@@ -1282,7 +1282,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,