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:09:41 +0000 (09:09 +0900)
commitca66f5c779af74d0eb7221afd7a9707201931e50
tree80a87757490f272a233dbe76d6861a2744cb3f34
parenteaa6dc3a8b4f31525650cd4785d6bafab86d68b7
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