aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2013-04-23 23:36:31 +0000
committerNIIBE Yutaka <[email protected]>2013-04-23 23:36:31 +0000
commit145d672fbf6d528f57cc3987238e380a9acbbd20 (patch)
treeeeda793fe0e2e7f7b7b0e496a2bf1ca82aae72d0
parentw32: Almost everywhere include winsock2.h before windows.h. (diff)
downloadgnupg-145d672fbf6d528f57cc3987238e380a9acbbd20.tar.gz
gnupg-145d672fbf6d528f57cc3987238e380a9acbbd20.zip
scd: Add pinpad support for REINER SCT cyberJack go
* scd/ccid-driver.c (VENDOR_REINER, CYBERJACK_GO): New. (ccid_transceive_secure): Handle the case for VENDOR_REINER. Original work was by Alina Friedrichsen (tiny change). -- This is revised version which adapts changes of ccid-driver.
-rw-r--r--scd/ccid-driver.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c
index c3a66fafe..42a219f27 100644
--- a/scd/ccid-driver.c
+++ b/scd/ccid-driver.c
@@ -212,9 +212,10 @@ enum {
VENDOR_OMNIKEY= 0x076b,
VENDOR_GEMPC = 0x08e6,
VENDOR_VEGA = 0x0982,
+ VENDOR_REINER = 0x0c4b,
VENDOR_KAAN = 0x0d46,
+ VENDOR_VASCO = 0x1a44,
VENDOR_FSIJ = 0x234b,
- VENDOR_VASCO = 0x1a44
};
/* Some product ids. */
@@ -227,6 +228,7 @@ enum {
#define VASCO_920 0x0920
#define GEMPC_PINPAD 0x3478
#define VEGA_ALPHA 0x0008
+#define CYBERJACK_GO 0x0504
/* A list and a table with special transport descriptions. */
enum {
@@ -3376,6 +3378,7 @@ ccid_transceive_secure (ccid_driver_t handle,
pininfo->maxlen = 25;
enable_varlen = 1;
break;
+ case VENDOR_REINER: /* Tested with cyberJack go */
case VENDOR_VASCO: /* Tested with DIGIPASS 920 */
enable_varlen = 1;
break;