diff options
author | Niibe Yutaka <[email protected]> | 2016-06-19 02:24:50 +0000 |
---|---|---|
committer | Niibe Yutaka <[email protected]> | 2016-06-19 02:24:50 +0000 |
commit | 971064f8b7ad676326b2a468f688037a303717df (patch) | |
tree | 2e3cd1b9a5186ca41ee0c60633c34e01bb8093f7 | |
parent | tests: Make make distcheck work again. (diff) | |
download | gnupg-971064f8b7ad676326b2a468f688037a303717df.tar.gz gnupg-971064f8b7ad676326b2a468f688037a303717df.zip |
scd: Reset nonnull_nad to zero for VENDOR_GEMPC.
* (parse_ccid_descriptor): nonnull_nad = 0 for all GEMPC device.
--
We can't use the driver for 08E6:3438, while it works well under PC/SC
service. I found that the library of ccid always uses the node
address = ZERO for all transactions. So, we extend the same handling
for not only GEMPC_CT30, but also for all its devices.
Debian-bug-id: 814584
Signed-off-by: NIIBE Yutaka <[email protected]>
-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 985404f86..7a093f683 100644 --- a/scd/ccid-driver.c +++ b/scd/ccid-driver.c @@ -975,7 +975,7 @@ parse_ccid_descriptor (ccid_driver_t handle, handle->max_ifsd = 48; } - if (handle->id_vendor == VENDOR_GEMPC && handle->id_product == GEMPC_CT30) + if (handle->id_vendor == VENDOR_GEMPC) { DEBUGOUT ("enabling product quirk: disable non-null NAD\n"); handle->nonnull_nad = 0; |