mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
scd,ccid: Fix GEMPC_EZIO handling.
* scd/ccid-driver.c (ccid_transceive_secure): Fix for 08e6:34c2. Fixes-commit: c933c15d587a1c0df3f4b3bf37d8d15164dd318f GnuPG-bug-id: 4654 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
e2c2b0fb2d
commit
c6702d77d9
@ -3444,15 +3444,15 @@ ccid_transceive_secure (ccid_driver_t handle,
|
|||||||
case VENDOR_GEMPC:
|
case VENDOR_GEMPC:
|
||||||
if (handle->id_product == GEMPC_PINPAD)
|
if (handle->id_product == GEMPC_PINPAD)
|
||||||
{
|
{
|
||||||
pininfo->maxlen = 25;
|
enable_varlen = 0;
|
||||||
enable_varlen = 1;
|
pininfo->minlen = 4;
|
||||||
|
pininfo->maxlen = 8;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else if (handle->id_product == GEMPC_EZIO)
|
else if (handle->id_product == GEMPC_EZIO)
|
||||||
{
|
{
|
||||||
enable_varlen = 0;
|
pininfo->maxlen = 25;
|
||||||
pininfo->minlen = 4;
|
enable_varlen = 1;
|
||||||
pininfo->maxlen = 8;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user