mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* ccid-driver.c (ccid_open_reader): Return an error if no USB
devices are found. * Makefile.am: Replaced INTLLIBS by LIBINTL.
This commit is contained in:
parent
ea5d88c430
commit
e62874f1d1
3 changed files with 9 additions and 1 deletions
|
@ -494,6 +494,9 @@ ccid_open_reader (ccid_driver_t *handle, int readerno)
|
|||
shallow copy of the list created internally by usb_init ? */
|
||||
usb_free_match (match);
|
||||
|
||||
if (!rc && !*handle)
|
||||
rc = -1; /* In case we didn't enter the while lool at all. */
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue