scd: Handle error correctly.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 28 Sep 2015 04:41:59 +0000 (13:41 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 28 Sep 2015 04:41:59 +0000 (13:41 +0900)
commit6bb7206e357acfd7276a8f1334c0f0c9cc6ed100
tree765c1e8bd1567177621be7c66e60b7c5aebce07c
parent12ff806d1b63d08cb43d131065d51353495d9346
scd: Handle error correctly.

* scd/apdu.c (apdu_connect): Initialize variables and check an error
of apdu_get_status_internal.
scd/apdu.c