1
0
Fork 0
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:
Werner Koch 2003-10-25 16:26:29 +00:00
parent ea5d88c430
commit e62874f1d1
3 changed files with 9 additions and 1 deletions

View file

@ -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;
}