scd: Fix Cherry ST-2000 support for pinpad input.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 22 Jun 2015 05:31:25 +0000 (14:31 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 23 Jun 2015 01:46:44 +0000 (10:46 +0900)
commit9200bf1babd1398a07202b530a255912d0ffdd71
treeb2a8ab6125a1fc10e597e75ac9ff41f5a04717f1
parentbe348579397797bdf814c41e3cbd086156f77dd6
scd: Fix Cherry ST-2000 support for pinpad input.

* scd/apdu.c (pcsc_vendor_specific_init): Set pinmax to 15.
* scd/ccid-driver.c (ccid_transceive_secure): Add zero for the
template of APDU.

--

(backport from 2.1 commit 444e9232aa9e00aacd939cbf7bdb881b550dfebe)

GnuPG-bug-id: 2003, 2004
scd/apdu.c
scd/ccid-driver.c