mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
scd,ccid: Fix detection of supported readers with pinpad.
* scd/ccid-driver.c (ccid_transceive_secure): When not supported, return CCID_DRIVER_ERR_NOT_SUPPORTED. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
12def3a84e
commit
1cb9a831f6
@ -3439,8 +3439,9 @@ ccid_transceive_secure (ccid_driver_t handle,
|
||||
{
|
||||
pininfo->maxlen = 25;
|
||||
enable_varlen = 1;
|
||||
}
|
||||
break;
|
||||
}
|
||||
return CCID_DRIVER_ERR_NOT_SUPPORTED;
|
||||
case VENDOR_GEMPC:
|
||||
if (handle->id_product == GEMPC_PINPAD)
|
||||
{
|
||||
@ -3455,7 +3456,7 @@ ccid_transceive_secure (ccid_driver_t handle,
|
||||
enable_varlen = 1;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
return CCID_DRIVER_ERR_NOT_SUPPORTED;
|
||||
default:
|
||||
if ((handle->id_vendor == VENDOR_VEGA &&
|
||||
handle->id_product == VEGA_ALPHA))
|
||||
|
Loading…
x
Reference in New Issue
Block a user