Home GnuPG
Diffusion GnuPG d4316d13749b

scd: Fix error handling with libusb-compat library.
d4316d13749bUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

scd: Fix error handling with libusb-compat library.

* scd/ccid-driver.c (bulk_out): Use LIBUSB_ERRNO_NO_SUCH_DEVICE.

With libusb-compat library, the error is different than original
libusb. (The libusb-compat library is used by Fedora.)

Backport of master commit: 1e94a672efb8bf66f416bc63bf6670e509a21fe5

Details

Provenance
gniibeAuthored on Nov 4 2015, 1:07 PM
Parents
rGaf7245e9a79d: scd: Handle error correctly.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rGd4316d13749b: scd: Fix error handling with libusb-compat library. (authored by NIIBE Yutaka <gniibe@fsij.org>).Nov 29 2016, 9:02 AM