scd,ccid: Fix GEMPC_EZIO handling.

* scd/ccid-driver.c (ccid_transceive_secure): Fix for 08e6:34c2.

Fixes-commit: c933c15d58
GnuPG-bug-id: 4654
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2019-10-29 07:57:59 +09:00
parent e2c2b0fb2d
commit c6702d77d9
1 changed files with 5 additions and 5 deletions

View File

@ -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;