scd: Fix receive buffer size.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 22 Nov 2016 11:53:57 +0000 (20:53 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 22 Nov 2016 11:53:57 +0000 (20:53 +0900)
commit5c2db9dedfe9dbb14ffec24751ca23a69cead94e
treec6a1186660bfe28feafe5dcedb0700d9c7bdd615
parenta3b258d1d15953816e0567511ecc527a4ccdd626
scd: Fix receive buffer size.

* scd/apdu.c (send_le): Fix the size, adding two for status
bytes to Le.

--

This is long standing bug.  So far, Le was not exact value.
Since forthcoming change will introduce exact value of expected length
of response data, this change is needed.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
scd/apdu.c