scd: change default value of pinpad maxlen.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 21 Mar 2013 00:04:13 +0000 (09:04 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 21 Mar 2013 00:04:13 +0000 (09:04 +0900)
commit33d276791c8169063b22fde96a1760f9f5ef1e63
treeae23f82663ea2e1498dda722ca418974ea9db4da
parent91423a826e3cefd78fc0006e65b56559dd578784
scd: change default value of pinpad maxlen.

* scd/apdu.c (pcsc_pinpad_verify, pcsc_pinpad_modify): Default value
of maxlen for pinpad input is now 15 (was: 25).

* scd/ccid-driver.c (ccid_transceive_secure): Likewise.

--

For newer PC/SC, it is better to use FEATURE_GET_TLV_PROPERTIES to get
bMaxPINSize.
scd/apdu.c
scd/ccid-driver.c