scd: Fix length error for READKEY.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 4 Nov 2016 06:34:35 +0000 (15:34 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 4 Nov 2016 06:34:35 +0000 (15:34 +0900)
commitcd00b07ec26c3408e6aee66957b08c6fd319b700
treef4732f3bf9f4303a20d3b148c51ff67b6d22de95
parentf9da935c3eb302e75a80def51128fb6f669661d7
scd: Fix length error for READKEY.

* scd/app-openpgp.c (do_readkey): Decrement the length.

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