aboutsummaryrefslogtreecommitdiffstats
path: root/scd/ccid-driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'scd/ccid-driver.c')
-rw-r--r--scd/ccid-driver.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c
index fe7937d62..c9bcc857d 100644
--- a/scd/ccid-driver.c
+++ b/scd/ccid-driver.c
@@ -3444,15 +3444,15 @@ ccid_transceive_secure (ccid_driver_t handle,
case VENDOR_GEMPC:
if (handle->id_product == GEMPC_PINPAD)
{
- pininfo->maxlen = 25;
- enable_varlen = 1;
+ enable_varlen = 0;
+ pininfo->minlen = 4;
+ pininfo->maxlen = 8;
break;
}
else if (handle->id_product == GEMPC_EZIO)
{
- enable_varlen = 0;
- pininfo->minlen = 4;
- pininfo->maxlen = 8;
+ pininfo->maxlen = 25;
+ enable_varlen = 1;
break;
}
break;