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>
Wed, 30 Nov 2016 00:33:10 +0000 (09:33 +0900)
commitbb5a153f9dd9497f58935c2a7026220f3a99cffd
tree1db17b4d4f3f4144aef739f92b145189d9cb1be9
parent3089c76a4a6a4250489a8ea373e5810bc9593654
scd: Fix receive buffer size.

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

--
Backport of master commit: 5c2db9dedfe9dbb14ffec24751ca23a69cead94e

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