scd: Handle a failure of libusb_init.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 31 May 2017 00:49:54 +0000 (09:49 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Wed, 31 May 2017 00:49:54 +0000 (09:49 +0900)
commit5c33649782bf255af5a55f16eac5e85f059b00bf
treefa919e927dc70614ee9a4f9cfe5a9eededcf0672
parent663e5ed0737465e79a9c877f18d93bddfd05a7a4
scd: Handle a failure of libusb_init.

* scd/ccid-driver.c (ccid_get_reader_list, ccid_dev_scan): Handle
failure.

--

Reported-by: Yuriy M. Kaminskiy <yumkam@gmail.com>
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
scd/ccid-driver.c