aboutsummaryrefslogtreecommitdiffstats
path: root/scd/ccid-driver.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-06-25 18:25:28 +0000
committerWerner Koch <[email protected]>2014-06-27 07:42:03 +0000
commit24be0f24d3a9325a04de10ae0e5e277bf28a74fe (patch)
tree83150140e38d82752c7826aca69df8fd00047ed2 /scd/ccid-driver.c
parentgpg: Limit keysize for unattended key generation to useful values. (diff)
downloadgnupg-24be0f24d3a9325a04de10ae0e5e277bf28a74fe.tar.gz
gnupg-24be0f24d3a9325a04de10ae0e5e277bf28a74fe.zip
scd: Support reader Gemalto IDBridge CT30
* scd/ccid-driver.h (GEMPC_CT30): New product id. * scd/ccid-driver.c (parse_ccid_descriptor): Add quirk for that reader. -- GnuPG-bug-id: 1638
Diffstat (limited to '')
-rw-r--r--scd/ccid-driver.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c
index 60ac5766b..65c203701 100644
--- a/scd/ccid-driver.c
+++ b/scd/ccid-driver.c
@@ -963,6 +963,11 @@ parse_ccid_descriptor (ccid_driver_t handle,
handle->max_ifsd = 48;
}
+ if (handle->id_vendor == VENDOR_GEMPC && handle->id_product == GEMPC_CT30)
+ {
+ DEBUGOUT ("enabling product quirk: disable non-null NAD\n");
+ handle->nonnull_nad = 0;
+ }
return 0;
}