diff options
author | Werner Koch <wk@gnupg.org> | 2014-06-25 20:25:28 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-06-27 09:42:03 +0200 |
commit | 24be0f24d3a9325a04de10ae0e5e277bf28a74fe (patch) | |
tree | 83150140e38d82752c7826aca69df8fd00047ed2 /scd | |
parent | gpg: Limit keysize for unattended key generation to useful values. (diff) | |
download | gnupg2-24be0f24d3a9325a04de10ae0e5e277bf28a74fe.tar.xz gnupg2-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 'scd')
-rw-r--r-- | scd/ccid-driver.c | 5 | ||||
-rw-r--r-- | scd/ccid-driver.h | 1 |
2 files changed, 6 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; } diff --git a/scd/ccid-driver.h b/scd/ccid-driver.h index a2a6e168e..3952cd7e6 100644 --- a/scd/ccid-driver.h +++ b/scd/ccid-driver.h @@ -80,6 +80,7 @@ enum { #define CHERRY_ST2000 0x003e #define VASCO_920 0x0920 #define GEMPC_PINPAD 0x3478 +#define GEMPC_CT30 0x3437 #define VEGA_ALPHA 0x0008 #endif /*CCID_DRIVER_INCLUDE_USB_IDS*/ |