diff options
author | Werner Koch <[email protected]> | 2014-06-25 18:25:28 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-06-27 07:56:33 +0000 |
commit | 505f0a642f899ede411837ad69a442b0d4f427fa (patch) | |
tree | 03f3a9595f9922d520419ea6c89d18c87e3ed0b3 | |
parent | gpg: Limit keysize for unattended key generation to useful values. (diff) | |
download | gnupg-505f0a642f899ede411837ad69a442b0d4f427fa.tar.gz gnupg-505f0a642f899ede411837ad69a442b0d4f427fa.zip |
scd: Support reader Gemalto IDBridge CT30
* scd/ccid-driver.c (parse_ccid_descriptor): Add quirk for that
reader.
(GEMPC_CT30): New product id.
--
GnuPG-bug-id: 1638
Resolved conflicts:
scd/ccid-driver.h - Removed. product ids are in ccid-driver.c.
-rw-r--r-- | scd/ccid-driver.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c index 962128dba..6e0bc55fa 100644 --- a/scd/ccid-driver.c +++ b/scd/ccid-driver.c @@ -227,6 +227,7 @@ enum { #define CHERRY_ST2000 0x003e #define VASCO_920 0x0920 #define GEMPC_PINPAD 0x3478 +#define GEMPC_CT30 0x3437 #define VEGA_ALPHA 0x0008 #define CYBERJACK_GO 0x0504 @@ -998,6 +999,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; } |