scd: Don't keep CCID reader open when card is not available.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 7 Apr 2017 03:18:16 +0000 (12:18 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 7 Apr 2017 03:18:16 +0000 (12:18 +0900)
commit3c93595d701c59cbc9b67a7fd0bcde7ee0fada1a
tree0ca311f780547bfab1149c664c7b32785c6a8d36
parentebe12be034f052cdec871f0d8ad1bfab85d7b943
scd: Don't keep CCID reader open when card is not available.

* scd/apdu.c (open_ccid_reader): Fail if no ATR.

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