scd: Fix for --disable-ccid for scdaemon.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 6 Jan 2017 01:35:46 +0000 (10:35 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 6 Jan 2017 01:35:46 +0000 (10:35 +0900)
commit858e14cd794e2a6125d51e652a754bbe26def997
treebac534c8508917d46fc048fe9268d05bd97b1a56
parent62268a2732dddca7a05ca4cf45d0e4338c7dc3c4
scd: Fix for --disable-ccid for scdaemon.

* scd/apdu.c (apdu_dev_list_finish): Don't call ccid_dev_scan_finish
with no table.
(apdu_open_reader): Only increment when it's zero.

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